@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteMethodResponseRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to delete an existing MethodResponse resource.
NOOP
Constructor and Description |
---|
DeleteMethodResponseRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteMethodResponseRequest |
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 identifier 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 identifier for the MethodResponse resource.
|
String |
toString()
Returns a string representation of this object.
|
DeleteMethodResponseRequest |
withHttpMethod(String httpMethod)
The HTTP verb of the Method resource.
|
DeleteMethodResponseRequest |
withResourceId(String resourceId)
The Resource identifier for the MethodResponse resource.
|
DeleteMethodResponseRequest |
withRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
DeleteMethodResponseRequest |
withStatusCode(String statusCode)
The status code identifier 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 DeleteMethodResponseRequest 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 DeleteMethodResponseRequest 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 DeleteMethodResponseRequest 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 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 DeleteMethodResponseRequest 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 DeleteMethodResponseRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()