@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()
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
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)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
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; useful for testing and debugging.
|
UpdateMethodResponseRequest |
withHttpMethod(String httpMethod)
The HTTP verb of the Method resource.
|
UpdateMethodResponseRequest |
withPatchOperations(Collection<PatchOperation> patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
UpdateMethodResponseRequest |
withPatchOperations(PatchOperation... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
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()
A list of update operations to be applied to the specified resource and in the order specified in this list.
public void setPatchOperations(Collection<PatchOperation> patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
patchOperations
- A list of update operations to be applied to the specified resource and in the order specified in this
list.public UpdateMethodResponseRequest withPatchOperations(PatchOperation... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this 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 update operations to be applied to the specified resource and in the order specified in this
list.public UpdateMethodResponseRequest withPatchOperations(Collection<PatchOperation> patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
patchOperations
- A list of update operations to be applied to the specified resource and in the order specified in this
list.public String toString()
toString
in class Object
Object.toString()
public UpdateMethodResponseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.