@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMethodResponseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to update an existing MethodResponse resource.
NOOP
Constructor and Description |
---|
UpdateMethodResponseRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateMethodResponseRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 MethodResponse resource.
|
String |
getRestApiId()
The string identifier of the associated RestApi.
|
String |
getStatusCode()
The status code for the MethodResponse resource.
|
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 MethodResponse resource.
|
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
void |
setStatusCode(String statusCode)
The status code for the MethodResponse resource.
|
String |
toString()
Returns a string representation of this object.
|
UpdateMethodResponseRequest |
withHttpMethod(String httpMethod)
The HTTP verb of the Method resource.
|
UpdateMethodResponseRequest |
withPatchOperations(Collection<PatchOperation> patchOperations)
For more information about supported patch operations, see Patch Operations.
|
UpdateMethodResponseRequest |
withPatchOperations(PatchOperation... patchOperations)
For more information about supported patch operations, see Patch Operations.
|
UpdateMethodResponseRequest |
withResourceId(String resourceId)
The Resource identifier for the MethodResponse resource.
|
UpdateMethodResponseRequest |
withRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
UpdateMethodResponseRequest |
withStatusCode(String statusCode)
The status code for the MethodResponse resource.
|
addHandlerContext, 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, withSdkRequestTimeout
public 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 UpdateMethodResponseRequest 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 MethodResponse resource.
resourceId
- The Resource identifier for the MethodResponse resource.public String getResourceId()
The Resource identifier for the MethodResponse resource.
public UpdateMethodResponseRequest withResourceId(String resourceId)
The Resource identifier for the MethodResponse resource.
resourceId
- The Resource identifier for the MethodResponse 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 UpdateMethodResponseRequest withHttpMethod(String httpMethod)
The HTTP verb of the Method resource.
httpMethod
- The HTTP verb of the Method resource.public void setStatusCode(String statusCode)
The status code for the MethodResponse resource.
statusCode
- The status code for the MethodResponse resource.public String getStatusCode()
The status code for the MethodResponse resource.
public UpdateMethodResponseRequest withStatusCode(String statusCode)
The status code for the MethodResponse resource.
statusCode
- The status code for the MethodResponse 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 UpdateMethodResponseRequest 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 UpdateMethodResponseRequest 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 Object
Object.toString()
public UpdateMethodResponseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()