public class Subnet extends Object implements Serializable
Describes a subnet.
Constructor and Description |
---|
Subnet() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AvailabilityZone |
getSubnetAvailabilityZone()
Describes an availability zone.
|
String |
getSubnetIdentifier()
The identifier of the subnet.
|
String |
getSubnetStatus()
The status of the subnet.
|
int |
hashCode() |
void |
setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Describes an availability zone.
|
void |
setSubnetIdentifier(String subnetIdentifier)
The identifier of the subnet.
|
void |
setSubnetStatus(String subnetStatus)
The status of the subnet.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Subnet |
withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Describes an availability zone.
|
Subnet |
withSubnetIdentifier(String subnetIdentifier)
The identifier of the subnet.
|
Subnet |
withSubnetStatus(String subnetStatus)
The status of the subnet.
|
public String getSubnetIdentifier()
public void setSubnetIdentifier(String subnetIdentifier)
subnetIdentifier
- The identifier of the subnet.public Subnet withSubnetIdentifier(String subnetIdentifier)
Returns a reference to this object so that method calls can be chained together.
subnetIdentifier
- The identifier of the subnet.public AvailabilityZone getSubnetAvailabilityZone()
public void setSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
subnetAvailabilityZone
- Describes an availability zone.public Subnet withSubnetAvailabilityZone(AvailabilityZone subnetAvailabilityZone)
Returns a reference to this object so that method calls can be chained together.
subnetAvailabilityZone
- Describes an availability zone.public String getSubnetStatus()
public void setSubnetStatus(String subnetStatus)
subnetStatus
- The status of the subnet.public Subnet withSubnetStatus(String subnetStatus)
Returns a reference to this object so that method calls can be chained together.
subnetStatus
- The status of the subnet.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.