Class AvailabilityZone
- java.lang.Object
-
- com.amazonaws.services.databasemigrationservice.model.AvailabilityZone
-
- All Implemented Interfaces:
Serializable,Cloneable
public class AvailabilityZone extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AvailabilityZone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AvailabilityZoneclone()booleanequals(Object obj)StringgetName()The name of the availability zone.inthashCode()voidsetName(String name)The name of the availability zone.StringtoString()Returns a string representation of this object; useful for testing and debugging.AvailabilityZonewithName(String name)The name of the availability zone.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the availability zone.
- Parameters:
name- The name of the availability zone.
-
getName
public String getName()
The name of the availability zone.
- Returns:
- The name of the availability zone.
-
withName
public AvailabilityZone withName(String name)
The name of the availability zone.
- Parameters:
name- The name of the availability zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AvailabilityZone clone()
-
-