@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailabilityZone extends Object implements Serializable, Cloneable
Contains Availability Zone information.
This data type is used as an element in the OrderableDBInstanceOption
data type.
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()