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() |
boolean |
equals(Object obj) |
String |
getHttpMethod()
The HTTP verb identifier for the parent Method resource.
|
List<PatchOperation> |
getPatchOperations()
A list of operations describing the updates to apply to the specified
resource.
|
String |
getResourceId()
The Resource identifier for the MethodResponse resource.
|
String |
getRestApiId()
The RestApi identifier for the MethodResponse resource.
|
String |
getStatusCode()
The status code identifier for the MethodResponse resource.
|
int |
hashCode() |
void |
setHttpMethod(String httpMethod)
The HTTP verb identifier for the parent Method resource.
|
void |
setPatchOperations(Collection<PatchOperation> patchOperations)
A list of operations describing the updates to apply to the specified
resource.
|
void |
setResourceId(String resourceId)
The Resource identifier for the MethodResponse resource.
|
void |
setRestApiId(String restApiId)
The RestApi identifier for the MethodResponse resource.
|
void |
setStatusCode(String statusCode)
The status code identifier 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 identifier for the parent Method resource.
|
UpdateMethodResponseRequest |
withPatchOperations(Collection<PatchOperation> patchOperations)
A list of operations describing the updates to apply to the specified
resource.
|
UpdateMethodResponseRequest |
withPatchOperations(PatchOperation... patchOperations)
A list of operations describing the updates to apply to the specified
resource.
|
UpdateMethodResponseRequest |
withResourceId(String resourceId)
The Resource identifier for the MethodResponse resource.
|
UpdateMethodResponseRequest |
withRestApiId(String restApiId)
The RestApi identifier for the MethodResponse resource.
|
UpdateMethodResponseRequest |
withStatusCode(String statusCode)
The status code identifier for the MethodResponse resource.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setRestApiId(String restApiId)
The RestApi identifier for the MethodResponse resource.
restApiId
- The RestApi identifier for the MethodResponse
resource.public String getRestApiId()
The RestApi identifier for the MethodResponse resource.
public UpdateMethodResponseRequest withRestApiId(String restApiId)
The RestApi identifier for the MethodResponse resource.
restApiId
- The RestApi identifier for the MethodResponse
resource.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 identifier for the parent Method resource.
httpMethod
- The HTTP verb identifier for the parent Method resource.public String getHttpMethod()
The HTTP verb identifier for the parent Method resource.
public UpdateMethodResponseRequest withHttpMethod(String httpMethod)
The HTTP verb identifier for the parent Method resource.
httpMethod
- The HTTP verb identifier for the parent Method resource.public void setStatusCode(String statusCode)
The status code identifier for the MethodResponse resource.
statusCode
- The status code identifier for the MethodResponse resource.public String getStatusCode()
The status code identifier for the MethodResponse resource.
public UpdateMethodResponseRequest withStatusCode(String statusCode)
The status code identifier for the MethodResponse resource.
statusCode
- The status code identifier for the MethodResponse 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 UpdateMethodResponseRequest 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 UpdateMethodResponseRequest 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 UpdateMethodResponseRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.