public class AvailabilityZone extends Object implements Serializable, Cloneable
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 |
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; useful for testing and
debugging.
|
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.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public AvailabilityZone withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String toString()
toString
in class Object
Object.toString()
public AvailabilityZone clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.