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 that identifies the Method resource.
|
List<PatchOperation> |
getPatchOperations()
A list of operations describing the updates to apply to the specified
resource.
|
String |
getResourceId()
|
String |
getRestApiId()
|
int |
hashCode() |
void |
setHttpMethod(String httpMethod)
The HTTP verb that identifies the Method resource.
|
void |
setPatchOperations(Collection<PatchOperation> patchOperations)
A list of operations describing the updates to apply to the specified
resource.
|
void |
setResourceId(String resourceId)
|
void |
setRestApiId(String restApiId)
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateMethodRequest |
withHttpMethod(String httpMethod)
The HTTP verb that identifies the Method resource.
|
UpdateMethodRequest |
withPatchOperations(Collection<PatchOperation> patchOperations)
A list of operations describing the updates to apply to the specified
resource.
|
UpdateMethodRequest |
withPatchOperations(PatchOperation... patchOperations)
A list of operations describing the updates to apply to the specified
resource.
|
UpdateMethodRequest |
withResourceId(String resourceId)
|
UpdateMethodRequest |
withRestApiId(String restApiId)
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRestApiId(String restApiId)
public UpdateMethodRequest withRestApiId(String restApiId)
public void setResourceId(String resourceId)
public String getResourceId()
public UpdateMethodRequest withResourceId(String resourceId)
public void setHttpMethod(String httpMethod)
The HTTP verb that identifies the Method resource.
httpMethod
- The HTTP verb that identifies the Method resource.public String getHttpMethod()
The HTTP verb that identifies the Method resource.
public UpdateMethodRequest withHttpMethod(String httpMethod)
The HTTP verb that identifies the Method resource.
httpMethod
- The HTTP verb that identifies the Method resource.public List<PatchOperation> getPatchOperations()
A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.
public void setPatchOperations(Collection<PatchOperation> patchOperations)
A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.
patchOperations
- A list of operations describing the updates to apply to the
specified resource. The patches are applied in the order specified
in the list.public UpdateMethodRequest withPatchOperations(PatchOperation... patchOperations)
A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.
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
- A list of operations describing the updates to apply to the
specified resource. The patches are applied in the order specified
in the list.public UpdateMethodRequest withPatchOperations(Collection<PatchOperation> patchOperations)
A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.
patchOperations
- A list of operations describing the updates to apply to the
specified resource. The patches are applied in the order specified
in the list.public String toString()
toString
in class Object
Object.toString()
public UpdateMethodRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.