@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()  | 
boolean | 
equals(Object obj)  | 
String | 
getHttpMethod()
 [Required] The HTTP verb of the Method resource. 
 | 
String | 
getResourceId()
 [Required] The Resource identifier for the MethodResponse resource. 
 | 
String | 
getRestApiId()
 [Required] The string identifier of the associated RestApi. 
 | 
String | 
getStatusCode()
 [Required] The status code for the MethodResponse resource. 
 | 
int | 
hashCode()  | 
void | 
setHttpMethod(String httpMethod)
 [Required] The HTTP verb of the Method resource. 
 | 
void | 
setResourceId(String resourceId)
 [Required] The Resource identifier for the MethodResponse resource. 
 | 
void | 
setRestApiId(String restApiId)
 [Required] The string identifier of the associated RestApi. 
 | 
void | 
setStatusCode(String statusCode)
 [Required] The status code for the MethodResponse resource. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
GetMethodResponseRequest | 
withHttpMethod(String httpMethod)
 [Required] The HTTP verb of the Method resource. 
 | 
GetMethodResponseRequest | 
withResourceId(String resourceId)
 [Required] The Resource identifier for the MethodResponse resource. 
 | 
GetMethodResponseRequest | 
withRestApiId(String restApiId)
 [Required] The string identifier of the associated RestApi. 
 | 
GetMethodResponseRequest | 
withStatusCode(String statusCode)
 [Required] The status code for the MethodResponse resource. 
 | 
addHandlerContext, copyBaseTo, 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)
[Required] The string identifier of the associated RestApi.
restApiId - [Required] The string identifier of the associated RestApi.public String getRestApiId()
[Required] The string identifier of the associated RestApi.
public GetMethodResponseRequest withRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId - [Required] The string identifier of the associated RestApi.public void setResourceId(String resourceId)
[Required] The Resource identifier for the MethodResponse resource.
resourceId - [Required] The Resource identifier for the MethodResponse resource.public String getResourceId()
[Required] The Resource identifier for the MethodResponse resource.
public GetMethodResponseRequest withResourceId(String resourceId)
[Required] The Resource identifier for the MethodResponse resource.
resourceId - [Required] The Resource identifier for the MethodResponse resource.public void setHttpMethod(String httpMethod)
[Required] The HTTP verb of the Method resource.
httpMethod - [Required] The HTTP verb of the Method resource.public String getHttpMethod()
[Required] The HTTP verb of the Method resource.
public GetMethodResponseRequest withHttpMethod(String httpMethod)
[Required] The HTTP verb of the Method resource.
httpMethod - [Required] The HTTP verb of the Method resource.public void setStatusCode(String statusCode)
[Required] The status code for the MethodResponse resource.
statusCode - [Required] The status code for the MethodResponse resource.public String getStatusCode()
[Required] The status code for the MethodResponse resource.
public GetMethodResponseRequest withStatusCode(String statusCode)
[Required] The status code for the MethodResponse resource.
statusCode - [Required] The status code for the MethodResponse resource.public String toString()
toString in class ObjectObject.toString()public GetMethodResponseRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.