@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateNatGatewayAddressResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
AssociateNatGatewayAddressResult() |
| Modifier and Type | Method and Description |
|---|---|
AssociateNatGatewayAddressResult |
clone() |
boolean |
equals(Object obj) |
List<NatGatewayAddress> |
getNatGatewayAddresses()
The IP addresses.
|
String |
getNatGatewayId()
The ID of the NAT gateway.
|
int |
hashCode() |
void |
setNatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses)
The IP addresses.
|
void |
setNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
|
String |
toString()
Returns a string representation of this object.
|
AssociateNatGatewayAddressResult |
withNatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses)
The IP addresses.
|
AssociateNatGatewayAddressResult |
withNatGatewayAddresses(NatGatewayAddress... natGatewayAddresses)
The IP addresses.
|
AssociateNatGatewayAddressResult |
withNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 AssociateNatGatewayAddressResult withNatGatewayId(String natGatewayId)
The ID of the NAT gateway.
natGatewayId - The ID of the NAT gateway.public List<NatGatewayAddress> getNatGatewayAddresses()
The IP addresses.
public void setNatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses)
The IP addresses.
natGatewayAddresses - The IP addresses.public AssociateNatGatewayAddressResult withNatGatewayAddresses(NatGatewayAddress... natGatewayAddresses)
The 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 - The IP addresses.public AssociateNatGatewayAddressResult withNatGatewayAddresses(Collection<NatGatewayAddress> natGatewayAddresses)
The IP addresses.
natGatewayAddresses - The IP addresses.public String toString()
toString in class ObjectObject.toString()public AssociateNatGatewayAddressResult clone()