@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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.
|
List<SupportedPlatform> |
getSupportedPlatforms()
|
int |
hashCode() |
void |
setName(String name)
The name of the availability zone.
|
void |
setSupportedPlatforms(Collection<SupportedPlatform> supportedPlatforms)
|
String |
toString()
Returns a string representation of this object.
|
AvailabilityZone |
withName(String name)
The name of the availability zone.
|
AvailabilityZone |
withSupportedPlatforms(Collection<SupportedPlatform> supportedPlatforms)
|
AvailabilityZone |
withSupportedPlatforms(SupportedPlatform... supportedPlatforms)
|
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 List<SupportedPlatform> getSupportedPlatforms()
public void setSupportedPlatforms(Collection<SupportedPlatform> supportedPlatforms)
supportedPlatforms
- public AvailabilityZone withSupportedPlatforms(SupportedPlatform... supportedPlatforms)
NOTE: This method appends the values to the existing list (if any). Use
setSupportedPlatforms(java.util.Collection)
or withSupportedPlatforms(java.util.Collection)
if
you want to override the existing values.
supportedPlatforms
- public AvailabilityZone withSupportedPlatforms(Collection<SupportedPlatform> supportedPlatforms)
supportedPlatforms
- public String toString()
toString
in class Object
Object.toString()
public AvailabilityZone clone()