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