@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NatGatewayAddress extends Object implements Serializable, Cloneable
Describes the IP addresses and network interface associated with a NAT gateway.
Constructor and Description |
---|
NatGatewayAddress() |
Modifier and Type | Method and Description |
---|---|
NatGatewayAddress |
clone() |
boolean |
equals(Object obj) |
String |
getAllocationId()
The allocation ID of the Elastic IP address that's associated with the NAT gateway.
|
String |
getNetworkInterfaceId()
The ID of the network interface associated with the NAT gateway.
|
String |
getPrivateIp()
The private IP address associated with the Elastic IP address.
|
String |
getPublicIp()
The Elastic IP address associated with the NAT gateway.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
The allocation ID of the Elastic IP address that's associated with the NAT gateway.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface associated with the NAT gateway.
|
void |
setPrivateIp(String privateIp)
The private IP address associated with the Elastic IP address.
|
void |
setPublicIp(String publicIp)
The Elastic IP address associated with the NAT gateway.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NatGatewayAddress |
withAllocationId(String allocationId)
The allocation ID of the Elastic IP address that's associated with the NAT gateway.
|
NatGatewayAddress |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface associated with the NAT gateway.
|
NatGatewayAddress |
withPrivateIp(String privateIp)
The private IP address associated with the Elastic IP address.
|
NatGatewayAddress |
withPublicIp(String publicIp)
The Elastic IP address associated with the NAT gateway.
|
public void setAllocationId(String allocationId)
The allocation ID of the Elastic IP address that's associated with the NAT gateway.
allocationId
- The allocation ID of the Elastic IP address that's associated with the NAT gateway.public String getAllocationId()
The allocation ID of the Elastic IP address that's associated with the NAT gateway.
public NatGatewayAddress withAllocationId(String allocationId)
The allocation ID of the Elastic IP address that's associated with the NAT gateway.
allocationId
- The allocation ID of the Elastic IP address that's associated with the NAT gateway.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface associated with the NAT gateway.
networkInterfaceId
- The ID of the network interface associated with the NAT gateway.public String getNetworkInterfaceId()
The ID of the network interface associated with the NAT gateway.
public NatGatewayAddress withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface associated with the NAT gateway.
networkInterfaceId
- The ID of the network interface associated with the NAT gateway.public void setPrivateIp(String privateIp)
The private IP address associated with the Elastic IP address.
privateIp
- The private IP address associated with the Elastic IP address.public String getPrivateIp()
The private IP address associated with the Elastic IP address.
public NatGatewayAddress withPrivateIp(String privateIp)
The private IP address associated with the Elastic IP address.
privateIp
- The private IP address associated with the Elastic IP address.public void setPublicIp(String publicIp)
The Elastic IP address associated with the NAT gateway.
publicIp
- The Elastic IP address associated with the NAT gateway.public String getPublicIp()
The Elastic IP address associated with the NAT gateway.
public NatGatewayAddress withPublicIp(String publicIp)
The Elastic IP address associated with the NAT gateway.
publicIp
- The Elastic IP address associated with the NAT gateway.public String toString()
toString
in class Object
Object.toString()
public NatGatewayAddress clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.