@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailabilityZone extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Availability Zone.
Constructor and Description |
---|
AvailabilityZone() |
Modifier and Type | Method and Description |
---|---|
AvailabilityZone |
clone() |
boolean |
equals(Object obj) |
String |
getSubnetId()
The ID of the subnet.
|
String |
getZoneName()
The name of the Availability Zone.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
void |
setZoneName(String zoneName)
The name of the Availability Zone.
|
String |
toString()
Returns a string representation of this object.
|
AvailabilityZone |
withSubnetId(String subnetId)
The ID of the subnet.
|
AvailabilityZone |
withZoneName(String zoneName)
The name of the Availability Zone.
|
public void setZoneName(String zoneName)
The name of the Availability Zone.
zoneName
- The name of the Availability Zone.public String getZoneName()
The name of the Availability Zone.
public AvailabilityZone withZoneName(String zoneName)
The name of the Availability Zone.
zoneName
- The name of the Availability Zone.public void setSubnetId(String subnetId)
The ID of the subnet. You can specify one subnet per Availability Zone.
subnetId
- The ID of the subnet. You can specify one subnet per Availability Zone.public String getSubnetId()
The ID of the subnet. You can specify one subnet per Availability Zone.
public AvailabilityZone withSubnetId(String subnetId)
The ID of the subnet. You can specify one subnet per Availability Zone.
subnetId
- The ID of the subnet. You can specify one subnet per Availability Zone.public String toString()
toString
in class Object
Object.toString()
public AvailabilityZone clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.