public class AvailabilityZone extends Object implements Serializable, Cloneable
Describes 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; useful for testing and
debugging.
|
AvailabilityZone |
withName(String name)
The name of the availability zone.
|
public String getName()
public void setName(String name)
name
- The name of the availability zone.public AvailabilityZone withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the availability zone.public String toString()
toString
in class Object
Object.toString()
public AvailabilityZone clone()
Copyright © 2015. All rights reserved.