public class Subnet
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This data type is used as a response element in the DescribeDBSubnetGroups action.
Modifier and Type | Field and Description |
---|---|
private AvailabilityZone |
subnetAvailabilityZone |
private java.lang.String |
subnetIdentifier
Specifies the identifier of the subnet.
|
private java.lang.String |
subnetStatus
Specifies the status of the subnet.
|
Constructor and Description |
---|
Subnet() |
Modifier and Type | Method and Description |
---|---|
Subnet |
clone() |
boolean |
equals(java.lang.Object obj) |
AvailabilityZone |
getSubnetAvailabilityZone() |
java.lang.String |
getSubnetIdentifier()
Specifies the identifier of the subnet.
|
java.lang.String |
getSubnetStatus()
Specifies the status of the subnet.
|
int |
hashCode() |
void |
setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone) |
void |
setSubnetIdentifier(java.lang.String subnetIdentifier)
Specifies the identifier of the subnet.
|
void |
setSubnetStatus(java.lang.String subnetStatus)
Specifies the status of the subnet.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Subnet |
withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone) |
Subnet |
withSubnetIdentifier(java.lang.String subnetIdentifier)
Specifies the identifier of the subnet.
|
Subnet |
withSubnetStatus(java.lang.String subnetStatus)
Specifies the status of the subnet.
|
private java.lang.String subnetIdentifier
Specifies the identifier of the subnet.
private AvailabilityZone subnetAvailabilityZone
private java.lang.String subnetStatus
Specifies the status of the subnet.
public void setSubnetIdentifier(java.lang.String subnetIdentifier)
Specifies the identifier of the subnet.
subnetIdentifier
- Specifies the identifier of the subnet.public java.lang.String getSubnetIdentifier()
Specifies the identifier of the subnet.
public Subnet withSubnetIdentifier(java.lang.String subnetIdentifier)
Specifies the identifier of the subnet.
subnetIdentifier
- Specifies the identifier of the subnet.public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
subnetAvailabilityZone
- public AvailabilityZone getSubnetAvailabilityZone()
public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
subnetAvailabilityZone
- public void setSubnetStatus(java.lang.String subnetStatus)
Specifies the status of the subnet.
subnetStatus
- Specifies the status of the subnet.public java.lang.String getSubnetStatus()
Specifies the status of the subnet.
public Subnet withSubnetStatus(java.lang.String subnetStatus)
Specifies the status of the subnet.
subnetStatus
- Specifies the status of the subnet.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Subnet clone()
clone
in class java.lang.Object