@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()
[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 identifier 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 identifier for the MethodResponse resource.
|
String |
toString()
Returns a string representation of this object.
|
DeleteMethodResponseRequest |
withHttpMethod(String httpMethod)
[Required] The HTTP verb of the Method resource.
|
DeleteMethodResponseRequest |
withResourceId(String resourceId)
[Required] The Resource identifier for the MethodResponse resource.
|
DeleteMethodResponseRequest |
withRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
DeleteMethodResponseRequest |
withStatusCode(String statusCode)
[Required] 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)
[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 DeleteMethodResponseRequest 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 DeleteMethodResponseRequest 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 DeleteMethodResponseRequest 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 identifier for the MethodResponse resource.
statusCode
- [Required] The status code identifier for the MethodResponse resource.public String getStatusCode()
[Required] The status code identifier for the MethodResponse resource.
public DeleteMethodResponseRequest withStatusCode(String statusCode)
[Required] The status code identifier for the MethodResponse resource.
statusCode
- [Required] 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()