@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subnet extends Object implements Serializable, Cloneable, StructuredPojo
In response to a request by the DescribeReplicationSubnetGroups operation, this object identifies a
subnet by its given Availability Zone, subnet identifier, and status.
| Constructor and Description |
|---|
Subnet() |
| Modifier and Type | Method and Description |
|---|---|
Subnet |
clone() |
boolean |
equals(Object obj) |
AvailabilityZone |
getSubnetAvailabilityZone()
The Availability Zone of the subnet.
|
String |
getSubnetIdentifier()
The subnet identifier.
|
String |
getSubnetStatus()
The status of the subnet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone of the subnet.
|
void |
setSubnetIdentifier(String subnetIdentifier)
The subnet identifier.
|
void |
setSubnetStatus(String subnetStatus)
The status of the subnet.
|
String |
toString()
Returns a string representation of this object.
|
Subnet |
withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone of the subnet.
|
Subnet |
withSubnetIdentifier(String subnetIdentifier)
The subnet identifier.
|
Subnet |
withSubnetStatus(String subnetStatus)
The status of the subnet.
|
public void setSubnetIdentifier(String subnetIdentifier)
The subnet identifier.
subnetIdentifier - The subnet identifier.public String getSubnetIdentifier()
The subnet identifier.
public Subnet withSubnetIdentifier(String subnetIdentifier)
The subnet identifier.
subnetIdentifier - The subnet identifier.public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone of the subnet.
subnetAvailabilityZone - The Availability Zone of the subnet.public AvailabilityZone getSubnetAvailabilityZone()
The Availability Zone of the subnet.
public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
The Availability Zone of the subnet.
subnetAvailabilityZone - The Availability Zone of the subnet.public void setSubnetStatus(String subnetStatus)
The status of the subnet.
subnetStatus - The status of the subnet.public String getSubnetStatus()
The status of the subnet.
public Subnet withSubnetStatus(String subnetStatus)
The status of the subnet.
subnetStatus - The status of the subnet.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.