public class NatGatewayAddress
extends java.lang.Object
implements java.io.Serializable
Describes the IP addresses and network interface associated with a NAT gateway.
Constructor and Description |
---|
NatGatewayAddress() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAllocationId()
The allocation ID of the Elastic IP address that's associated with the
NAT gateway.
|
java.lang.String |
getNetworkInterfaceId()
The ID of the network interface associated with the NAT gateway.
|
java.lang.String |
getPrivateIp()
The private IP address associated with the Elastic IP address.
|
java.lang.String |
getPublicIp()
The Elastic IP address associated with the NAT gateway.
|
int |
hashCode() |
void |
setAllocationId(java.lang.String allocationId)
The allocation ID of the Elastic IP address that's associated with the
NAT gateway.
|
void |
setNetworkInterfaceId(java.lang.String networkInterfaceId)
The ID of the network interface associated with the NAT gateway.
|
void |
setPrivateIp(java.lang.String privateIp)
The private IP address associated with the Elastic IP address.
|
void |
setPublicIp(java.lang.String publicIp)
The Elastic IP address associated with the NAT gateway.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NatGatewayAddress |
withAllocationId(java.lang.String allocationId)
The allocation ID of the Elastic IP address that's associated with the
NAT gateway.
|
NatGatewayAddress |
withNetworkInterfaceId(java.lang.String networkInterfaceId)
The ID of the network interface associated with the NAT gateway.
|
NatGatewayAddress |
withPrivateIp(java.lang.String privateIp)
The private IP address associated with the Elastic IP address.
|
NatGatewayAddress |
withPublicIp(java.lang.String publicIp)
The Elastic IP address associated with the NAT gateway.
|
public java.lang.String getPublicIp()
public void setPublicIp(java.lang.String publicIp)
publicIp
- The Elastic IP address associated with the NAT gateway.public NatGatewayAddress withPublicIp(java.lang.String publicIp)
Returns a reference to this object so that method calls can be chained together.
publicIp
- The Elastic IP address associated with the NAT gateway.public java.lang.String getAllocationId()
public void setAllocationId(java.lang.String allocationId)
allocationId
- The allocation ID of the Elastic IP address that's associated with the
NAT gateway.public NatGatewayAddress withAllocationId(java.lang.String allocationId)
Returns a reference to this object so that method calls can be chained together.
allocationId
- The allocation ID of the Elastic IP address that's associated with the
NAT gateway.public java.lang.String getPrivateIp()
public void setPrivateIp(java.lang.String privateIp)
privateIp
- The private IP address associated with the Elastic IP address.public NatGatewayAddress withPrivateIp(java.lang.String privateIp)
Returns a reference to this object so that method calls can be chained together.
privateIp
- The private IP address associated with the Elastic IP address.public java.lang.String getNetworkInterfaceId()
public void setNetworkInterfaceId(java.lang.String networkInterfaceId)
networkInterfaceId
- The ID of the network interface associated with the NAT gateway.public NatGatewayAddress withNetworkInterfaceId(java.lang.String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId
- The ID of the network interface associated with the NAT gateway.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.