@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()
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
|
String |
getAssociationId()
[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.
|
String |
getFailureMessage()
The address failure message.
|
Boolean |
getIsPrimary()
Defines if the IP address is the primary address.
|
String |
getNetworkInterfaceId()
The ID of the network interface associated with the NAT gateway.
|
String |
getPrivateIp()
The private IP address associated with the NAT gateway.
|
String |
getPublicIp()
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
|
String |
getStatus()
The address status.
|
int |
hashCode() |
Boolean |
isPrimary()
Defines if the IP address is the primary address.
|
void |
setAllocationId(String allocationId)
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
|
void |
setAssociationId(String associationId)
[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.
|
void |
setFailureMessage(String failureMessage)
The address failure message.
|
void |
setIsPrimary(Boolean isPrimary)
Defines if the IP address is the primary address.
|
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 NAT gateway.
|
void |
setPublicIp(String publicIp)
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
|
void |
setStatus(String status)
The address status.
|
String |
toString()
Returns a string representation of this object.
|
NatGatewayAddress |
withAllocationId(String allocationId)
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
|
NatGatewayAddress |
withAssociationId(String associationId)
[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.
|
NatGatewayAddress |
withFailureMessage(String failureMessage)
The address failure message.
|
NatGatewayAddress |
withIsPrimary(Boolean isPrimary)
Defines if the IP address is the primary address.
|
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 NAT gateway.
|
NatGatewayAddress |
withPublicIp(String publicIp)
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
|
NatGatewayAddress |
withStatus(NatGatewayAddressStatus status)
The address status.
|
NatGatewayAddress |
withStatus(String status)
The address status.
|
public void setAllocationId(String allocationId)
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
allocationId
- [Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT
gateway.public String getAllocationId()
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
public NatGatewayAddress withAllocationId(String allocationId)
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
allocationId
- [Public NAT gateway only] 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 NAT gateway.
privateIp
- The private IP address associated with the NAT gateway.public String getPrivateIp()
The private IP address associated with the NAT gateway.
public NatGatewayAddress withPrivateIp(String privateIp)
The private IP address associated with the NAT gateway.
privateIp
- The private IP address associated with the NAT gateway.public void setPublicIp(String publicIp)
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
publicIp
- [Public NAT gateway only] The Elastic IP address associated with the NAT gateway.public String getPublicIp()
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
public NatGatewayAddress withPublicIp(String publicIp)
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
publicIp
- [Public NAT gateway only] The Elastic IP address associated with the NAT gateway.public void setAssociationId(String associationId)
[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.
associationId
- [Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT
gateway.public String getAssociationId()
[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.
public NatGatewayAddress withAssociationId(String associationId)
[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.
associationId
- [Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT
gateway.public void setIsPrimary(Boolean isPrimary)
Defines if the IP address is the primary address.
isPrimary
- Defines if the IP address is the primary address.public Boolean getIsPrimary()
Defines if the IP address is the primary address.
public NatGatewayAddress withIsPrimary(Boolean isPrimary)
Defines if the IP address is the primary address.
isPrimary
- Defines if the IP address is the primary address.public Boolean isPrimary()
Defines if the IP address is the primary address.
public void setFailureMessage(String failureMessage)
The address failure message.
failureMessage
- The address failure message.public String getFailureMessage()
The address failure message.
public NatGatewayAddress withFailureMessage(String failureMessage)
The address failure message.
failureMessage
- The address failure message.public void setStatus(String status)
The address status.
status
- The address status.NatGatewayAddressStatus
public String getStatus()
The address status.
NatGatewayAddressStatus
public NatGatewayAddress withStatus(String status)
The address status.
status
- The address status.NatGatewayAddressStatus
public NatGatewayAddress withStatus(NatGatewayAddressStatus status)
The address status.
status
- The address status.NatGatewayAddressStatus
public String toString()
toString
in class Object
Object.toString()
public NatGatewayAddress clone()