@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 |
getName()
The name of the Availability Zone.
|
int |
hashCode() |
void |
setName(String name)
The name of the Availability Zone.
|
String |
toString()
Returns a string representation of this object.
|
AvailabilityZone |
withName(String name)
The name of the Availability Zone.
|
public void setName(String name)
The name of the Availability Zone.
name
- The name of the Availability Zone.public String getName()
The name of the Availability Zone.
public AvailabilityZone withName(String name)
The name of the Availability Zone.
name
- The name of the Availability Zone.public String toString()
toString
in class Object
Object.toString()
public AvailabilityZone clone()