public class DeleteNatGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteNatGateway operation
.
Deletes the specified NAT gateway. Deleting a NAT gateway disassociates its Elastic IP address, but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway routes in your route tables.
NOOP
Constructor and Description |
---|
DeleteNatGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteNatGatewayRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getNatGatewayId()
The ID of the NAT gateway.
|
int |
hashCode() |
void |
setNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteNatGatewayRequest |
withNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getNatGatewayId()
public void setNatGatewayId(String natGatewayId)
natGatewayId
- The ID of the NAT gateway.public DeleteNatGatewayRequest withNatGatewayId(String natGatewayId)
Returns a reference to this object so that method calls can be chained together.
natGatewayId
- The ID of the NAT gateway.public String toString()
toString
in class Object
Object.toString()
public DeleteNatGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.