@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnassignPrivateNatGatewayAddressResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UnassignPrivateNatGatewayAddressResult() |
Modifier and Type | Method and Description |
---|---|
UnassignPrivateNatGatewayAddressResult |
clone() |
boolean |
equals(Object obj) |
List<NatGatewayAddress> |
getNatGatewayAddresses()
Information about the NAT gateway IP addresses.
|
String |
getNatGatewayId()
The ID of the NAT gateway.
|
int |
hashCode() |
void |
setNatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses)
Information about the NAT gateway IP addresses.
|
void |
setNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
|
String |
toString()
Returns a string representation of this object.
|
UnassignPrivateNatGatewayAddressResult |
withNatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses)
Information about the NAT gateway IP addresses.
|
UnassignPrivateNatGatewayAddressResult |
withNatGatewayAddresses(NatGatewayAddress... natGatewayAddresses)
Information about the NAT gateway IP addresses.
|
UnassignPrivateNatGatewayAddressResult |
withNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public UnassignPrivateNatGatewayAddressResult()
public void setNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
natGatewayId
- The ID of the NAT gateway.public String getNatGatewayId()
The ID of the NAT gateway.
public UnassignPrivateNatGatewayAddressResult withNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
natGatewayId
- The ID of the NAT gateway.public List<NatGatewayAddress> getNatGatewayAddresses()
Information about the NAT gateway IP addresses.
public void setNatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses)
Information about the NAT gateway IP addresses.
natGatewayAddresses
- Information about the NAT gateway IP addresses.public UnassignPrivateNatGatewayAddressResult withNatGatewayAddresses(NatGatewayAddress... natGatewayAddresses)
Information about the NAT gateway IP addresses.
NOTE: This method appends the values to the existing list (if any). Use
setNatGatewayAddresses(java.util.Collection)
or withNatGatewayAddresses(java.util.Collection)
if you want to override the existing values.
natGatewayAddresses
- Information about the NAT gateway IP addresses.public UnassignPrivateNatGatewayAddressResult withNatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses)
Information about the NAT gateway IP addresses.
natGatewayAddresses
- Information about the NAT gateway IP addresses.public String toString()
toString
in class Object
Object.toString()
public UnassignPrivateNatGatewayAddressResult clone()