public class AvailabilityZone
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an Availability Zone in which the cache cluster is launched.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name of the Availability Zone.
|
Constructor and Description |
---|
AvailabilityZone() |
Modifier and Type | Method and Description |
---|---|
AvailabilityZone |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the Availability Zone.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the Availability Zone.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AvailabilityZone |
withName(java.lang.String name)
The name of the Availability Zone.
|
public void setName(java.lang.String name)
The name of the Availability Zone.
name
- The name of the Availability Zone.public java.lang.String getName()
The name of the Availability Zone.
public AvailabilityZone withName(java.lang.String name)
The name of the Availability Zone.
name
- The name of the Availability Zone.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AvailabilityZone clone()
clone
in class java.lang.Object