public HttpRouteMatch withMethod(String method) {
        setMethod(method);
        return this;
    }
<p>
The client request method to match on. Specify only one.
</p>

@param method
       The client request method to match on. Specify only one.
@return Returns a reference to this object so that method calls can be chained together.
@see HttpMethod
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/HttpRouteMatch.java