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 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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AvailabilityZone clone()
-
-