@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.
|
String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
[Network Load Balancers] The allocation ID of the Elastic IP address.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SubnetMapping |
withAllocationId(String allocationId)
[Network Load Balancers] The allocation ID of the Elastic IP address.
|
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.
allocationId
- [Network Load Balancers] The allocation ID of the Elastic IP address.public String getAllocationId()
[Network Load Balancers] The allocation ID of the Elastic IP address.
public SubnetMapping withAllocationId(String allocationId)
[Network Load Balancers] The allocation ID of the Elastic IP address.
allocationId
- [Network Load Balancers] The allocation ID of the Elastic IP address.public String toString()
toString
in class Object
Object.toString()
public SubnetMapping clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.