@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMethodResponseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to describe a MethodResponse resource.
NOOP| Constructor and Description | 
|---|
| GetMethodResponseRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetMethodResponseRequest | 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. | 
| 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 | 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. | 
| GetMethodResponseRequest | withHttpMethod(String httpMethod)
 The HTTP verb of the Method resource. | 
| GetMethodResponseRequest | withResourceId(String resourceId)
 The Resource identifier for the MethodResponse resource. | 
| GetMethodResponseRequest | withRestApiId(String restApiId)
 The string identifier of the associated RestApi. | 
| GetMethodResponseRequest | 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, 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 GetMethodResponseRequest 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 GetMethodResponseRequest 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 GetMethodResponseRequest 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 GetMethodResponseRequest withStatusCode(String statusCode)
The status code for the MethodResponse resource.
statusCode - The status code for the MethodResponse resource.public String toString()
toString in class ObjectObject.toString()public GetMethodResponseRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()