public class DeleteNatGatewayRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| Constructor and Description |
|---|
DeleteNatGatewayRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNatGatewayId()
The ID of the NAT gateway.
|
int |
hashCode() |
void |
setNatGatewayId(java.lang.String natGatewayId)
The ID of the NAT gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteNatGatewayRequest |
withNatGatewayId(java.lang.String natGatewayId)
The ID of the NAT gateway.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getNatGatewayId()
public void setNatGatewayId(java.lang.String natGatewayId)
natGatewayId - The ID of the NAT gateway.public DeleteNatGatewayRequest withNatGatewayId(java.lang.String natGatewayId)
Returns a reference to this object so that method calls can be chained together.
natGatewayId - The ID of the NAT gateway.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.