public GrpcGatewayRouteMatch withMetadata(java.util.Collection<GrpcGatewayRouteMetadata> metadata) {
        setMetadata(metadata);
        return this;
    }
<p>
The gateway route metadata to be matched on.
</p>

@param metadata
       The gateway route metadata to be matched on.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/GrpcGatewayRouteMatch.java