public void setMetadata(java.util.Collection<GrpcGatewayRouteMetadata> metadata) {
        if (metadata == null) {
            this.metadata = null;
            return;
        }

        this.metadata = new java.util.ArrayList<GrpcGatewayRouteMetadata>(metadata);
    }
<p>
The gateway route metadata to be matched on.
</p>

@param metadata
       The gateway route metadata to be matched on.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/GrpcGatewayRouteMatch.java