public UpdateConnectionOAuthRequestParameters withHttpMethod(ConnectionOAuthHttpMethod httpMethod) {
        this.httpMethod = httpMethod.toString();
        return this;
    }
<p>
The method used to connect to the HTTP endpoint.
</p>

@param httpMethod
       The method used to connect to the HTTP endpoint.
@return Returns a reference to this object so that method calls can be chained together.
@see ConnectionOAuthHttpMethod
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/UpdateConnectionOAuthRequestParameters.java