public SamplingRuleUpdate withHTTPMethod(String hTTPMethod) {
        setHTTPMethod(hTTPMethod);
        return this;
    }
<p>
Matches the HTTP method of a request.
</p>

@param hTTPMethod
       Matches the HTTP method of a request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/SamplingRuleUpdate.java