@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubnetMapping extends Object implements Serializable, Cloneable
Information about a subnet mapping.
Constructor and Description |
---|
SubnetMapping() |
Modifier and Type | Method and Description |
---|---|
SubnetMapping |
clone() |
boolean |
equals(Object obj) |
String |
getAllocationId()
[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
|
String |
getIPv6Address()
[Network Load Balancers] The IPv6 address.
|
String |
getPrivateIPv4Address()
[Network Load Balancers] The private IPv4 address for an internal load balancer.
|
String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
|
void |
setIPv6Address(String iPv6Address)
[Network Load Balancers] The IPv6 address.
|
void |
setPrivateIPv4Address(String privateIPv4Address)
[Network Load Balancers] The private IPv4 address for an internal load balancer.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
String |
toString()
Returns a string representation of this object.
|
SubnetMapping |
withAllocationId(String allocationId)
[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
|
SubnetMapping |
withIPv6Address(String iPv6Address)
[Network Load Balancers] The IPv6 address.
|
SubnetMapping |
withPrivateIPv4Address(String privateIPv4Address)
[Network Load Balancers] The private IPv4 address for an internal load balancer.
|
SubnetMapping |
withSubnetId(String subnetId)
The ID of the subnet.
|
public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public SubnetMapping withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public void setAllocationId(String allocationId)
[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
allocationId
- [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.public String getAllocationId()
[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
public SubnetMapping withAllocationId(String allocationId)
[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.
allocationId
- [Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.public void setPrivateIPv4Address(String privateIPv4Address)
[Network Load Balancers] The private IPv4 address for an internal load balancer.
privateIPv4Address
- [Network Load Balancers] The private IPv4 address for an internal load balancer.public String getPrivateIPv4Address()
[Network Load Balancers] The private IPv4 address for an internal load balancer.
public SubnetMapping withPrivateIPv4Address(String privateIPv4Address)
[Network Load Balancers] The private IPv4 address for an internal load balancer.
privateIPv4Address
- [Network Load Balancers] The private IPv4 address for an internal load balancer.public void setIPv6Address(String iPv6Address)
[Network Load Balancers] The IPv6 address.
iPv6Address
- [Network Load Balancers] The IPv6 address.public String getIPv6Address()
[Network Load Balancers] The IPv6 address.
public SubnetMapping withIPv6Address(String iPv6Address)
[Network Load Balancers] The IPv6 address.
iPv6Address
- [Network Load Balancers] The IPv6 address.public String toString()
toString
in class Object
Object.toString()
public SubnetMapping clone()