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 request.
|
boolean |
equals(Object obj) |
String |
getHttpMethod()
The HTTP verb identifier for the parent Method 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 |
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.
|
GetMethodResponseRequest |
withHttpMethod(String httpMethod)
The HTTP verb identifier for the parent Method resource.
|
GetMethodResponseRequest |
withResourceId(String resourceId)
The Resource identifier for the MethodResponse resource.
|
GetMethodResponseRequest |
withRestApiId(String restApiId)
The RestApi identifier for the MethodResponse resource.
|
GetMethodResponseRequest |
withStatusCode(String statusCode)
The status code identifier for the MethodResponse resource.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 GetMethodResponseRequest 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 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 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 GetMethodResponseRequest 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 GetMethodResponseRequest withStatusCode(String statusCode)
The status code identifier for the MethodResponse resource.
statusCode
- The status code identifier for the MethodResponse resource.public String toString()
toString
in class Object
Object.toString()
public GetMethodResponseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.