@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMethodRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to update an existing Method resource.
NOOP| Constructor and Description | 
|---|
| UpdateMethodRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateMethodRequest | clone() | 
| boolean | equals(Object obj) | 
| String | getHttpMethod()
 The HTTP verb of the Method resource. | 
| List<PatchOperation> | getPatchOperations()
 For more information about supported patch operations, see Patch Operations. | 
| String | getResourceId()
 The Resource identifier for the Method resource. | 
| String | getRestApiId()
 The string identifier of the associated RestApi. | 
| int | hashCode() | 
| void | setHttpMethod(String httpMethod)
 The HTTP verb of the Method resource. | 
| void | setPatchOperations(Collection<PatchOperation> patchOperations)
 For more information about supported patch operations, see Patch Operations. | 
| void | setResourceId(String resourceId)
 The Resource identifier for the Method resource. | 
| void | setRestApiId(String restApiId)
 The string identifier of the associated RestApi. | 
| String | toString()Returns a string representation of this object. | 
| UpdateMethodRequest | withHttpMethod(String httpMethod)
 The HTTP verb of the Method resource. | 
| UpdateMethodRequest | withPatchOperations(Collection<PatchOperation> patchOperations)
 For more information about supported patch operations, see Patch Operations. | 
| UpdateMethodRequest | withPatchOperations(PatchOperation... patchOperations)
 For more information about supported patch operations, see Patch Operations. | 
| UpdateMethodRequest | withResourceId(String resourceId)
 The Resource identifier for the Method resource. | 
| UpdateMethodRequest | withRestApiId(String restApiId)
 The string identifier of the associated RestApi. | 
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId - The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public UpdateMethodRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId - The string identifier of the associated RestApi.public void setResourceId(String resourceId)
The Resource identifier for the Method resource.
resourceId - The Resource identifier for the Method resource.public String getResourceId()
The Resource identifier for the Method resource.
public UpdateMethodRequest withResourceId(String resourceId)
The Resource identifier for the Method resource.
resourceId - The Resource identifier for the Method resource.public void setHttpMethod(String httpMethod)
The HTTP verb of the Method resource.
httpMethod - The HTTP verb of the Method resource.public String getHttpMethod()
The HTTP verb of the Method resource.
public UpdateMethodRequest withHttpMethod(String httpMethod)
The HTTP verb of the Method resource.
httpMethod - The HTTP verb of the Method resource.public List<PatchOperation> getPatchOperations()
For more information about supported patch operations, see Patch Operations.
public void setPatchOperations(Collection<PatchOperation> patchOperations)
For more information about supported patch operations, see Patch Operations.
patchOperations - For more information about supported patch operations, see Patch Operations.public UpdateMethodRequest withPatchOperations(PatchOperation... patchOperations)
For more information about supported patch operations, see Patch Operations.
 NOTE: This method appends the values to the existing list (if any). Use
 setPatchOperations(java.util.Collection) or withPatchOperations(java.util.Collection) if you
 want to override the existing values.
 
patchOperations - For more information about supported patch operations, see Patch Operations.public UpdateMethodRequest withPatchOperations(Collection<PatchOperation> patchOperations)
For more information about supported patch operations, see Patch Operations.
patchOperations - For more information about supported patch operations, see Patch Operations.public String toString()
toString in class ObjectObject.toString()public UpdateMethodRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.