Class NatGatewayAddress
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the IP addresses and network interface associated with a NAT gateway.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The allocation ID of the Elastic IP address that's associated with the NAT gateway.The ID of the network interface associated with the NAT gateway.The private IP address associated with the Elastic IP address.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.toString()
Returns a string representation of this object; useful for testing and debugging.withAllocationId
(String allocationId) The allocation ID of the Elastic IP address that's associated with the NAT gateway.withNetworkInterfaceId
(String networkInterfaceId) The ID of the network interface associated with the NAT gateway.withPrivateIp
(String privateIp) The private IP address associated with the Elastic IP address.withPublicIp
(String publicIp) The Elastic IP address associated with the NAT gateway.
-
Constructor Details
-
NatGatewayAddress
public NatGatewayAddress()
-
-
Method Details
-
setPublicIp
The Elastic IP address associated with the NAT gateway.
- Parameters:
publicIp
- The Elastic IP address associated with the NAT gateway.
-
getPublicIp
The Elastic IP address associated with the NAT gateway.
- Returns:
- The Elastic IP address associated with the NAT gateway.
-
withPublicIp
The Elastic IP address associated with the NAT gateway.
- Parameters:
publicIp
- The Elastic IP address associated with the NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAllocationId
The allocation ID of the Elastic IP address that's associated with the NAT gateway.
- Parameters:
allocationId
- The allocation ID of the Elastic IP address that's associated with the NAT gateway.
-
getAllocationId
The allocation ID of the Elastic IP address that's associated with the NAT gateway.
- Returns:
- The allocation ID of the Elastic IP address that's associated with the NAT gateway.
-
withAllocationId
The allocation ID of the Elastic IP address that's associated with the NAT gateway.
- Parameters:
allocationId
- The allocation ID of the Elastic IP address that's associated with the NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrivateIp
The private IP address associated with the Elastic IP address.
- Parameters:
privateIp
- The private IP address associated with the Elastic IP address.
-
getPrivateIp
The private IP address associated with the Elastic IP address.
- Returns:
- The private IP address associated with the Elastic IP address.
-
withPrivateIp
The private IP address associated with the Elastic IP address.
- Parameters:
privateIp
- The private IP address associated with the Elastic IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNetworkInterfaceId
The ID of the network interface associated with the NAT gateway.
- Parameters:
networkInterfaceId
- The ID of the network interface associated with the NAT gateway.
-
getNetworkInterfaceId
The ID of the network interface associated with the NAT gateway.
- Returns:
- The ID of the network interface associated with the NAT gateway.
-
withNetworkInterfaceId
The ID of the network interface associated with the NAT gateway.
- Parameters:
networkInterfaceId
- The ID of the network interface associated with the NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-