public class Subnet
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a subnet.
Modifier and Type | Field and Description |
---|---|
private AvailabilityZone |
subnetAvailabilityZone |
private java.lang.String |
subnetIdentifier
The identifier of the subnet.
|
private java.lang.String |
subnetStatus
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()
The identifier of the subnet.
|
java.lang.String |
getSubnetStatus()
The status of the subnet.
|
int |
hashCode() |
void |
setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone) |
void |
setSubnetIdentifier(java.lang.String subnetIdentifier)
The identifier of the subnet.
|
void |
setSubnetStatus(java.lang.String subnetStatus)
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)
The identifier of the subnet.
|
Subnet |
withSubnetStatus(java.lang.String subnetStatus)
The status of the subnet.
|
private java.lang.String subnetIdentifier
The identifier of the subnet.
private AvailabilityZone subnetAvailabilityZone
private java.lang.String subnetStatus
The status of the subnet.
public void setSubnetIdentifier(java.lang.String subnetIdentifier)
The identifier of the subnet.
subnetIdentifier
- The identifier of the subnet.public java.lang.String getSubnetIdentifier()
The identifier of the subnet.
public Subnet withSubnetIdentifier(java.lang.String subnetIdentifier)
The identifier of the subnet.
subnetIdentifier
- 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)
The status of the subnet.
subnetStatus
- The status of the subnet.public java.lang.String getSubnetStatus()
The status of the subnet.
public Subnet withSubnetStatus(java.lang.String subnetStatus)
The status of the subnet.
subnetStatus
- 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