@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Region extends Object implements Serializable, Cloneable, StructuredPojo
Describes the AWS Region.
Constructor and Description |
---|
Region() |
Modifier and Type | Method and Description |
---|---|
Region |
clone() |
boolean |
equals(Object obj) |
List<AvailabilityZone> |
getAvailabilityZones()
The Availability Zones.
|
String |
getContinentCode()
The continent code (e.g.,
NA , meaning North America). |
String |
getDescription()
The description of the AWS Region (e.g.,
This region is recommended to serve users in the eastern United States and eastern Canada ). |
String |
getDisplayName()
The display name (e.g.,
Virginia ). |
String |
getName()
The region name (e.g.,
us-east-1 ). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones.
|
void |
setContinentCode(String continentCode)
The continent code (e.g.,
NA , meaning North America). |
void |
setDescription(String description)
The description of the AWS Region (e.g.,
This region is recommended to serve users in the eastern United States and eastern Canada ). |
void |
setDisplayName(String displayName)
The display name (e.g.,
Virginia ). |
void |
setName(RegionName name)
The region name (e.g.,
us-east-1 ). |
void |
setName(String name)
The region name (e.g.,
us-east-1 ). |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Region |
withAvailabilityZones(AvailabilityZone... availabilityZones)
The Availability Zones.
|
Region |
withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones.
|
Region |
withContinentCode(String continentCode)
The continent code (e.g.,
NA , meaning North America). |
Region |
withDescription(String description)
The description of the AWS Region (e.g.,
This region is recommended to serve users in the eastern United States and eastern Canada ). |
Region |
withDisplayName(String displayName)
The display name (e.g.,
Virginia ). |
Region |
withName(RegionName name)
The region name (e.g.,
us-east-1 ). |
Region |
withName(String name)
The region name (e.g.,
us-east-1 ). |
public void setContinentCode(String continentCode)
The continent code (e.g., NA
, meaning North America).
continentCode
- The continent code (e.g., NA
, meaning North America).public String getContinentCode()
The continent code (e.g., NA
, meaning North America).
NA
, meaning North America).public Region withContinentCode(String continentCode)
The continent code (e.g., NA
, meaning North America).
continentCode
- The continent code (e.g., NA
, meaning North America).public void setDescription(String description)
The description of the AWS Region (e.g.,
This region is recommended to serve users in the eastern United States and eastern Canada
).
description
- The description of the AWS Region (e.g.,
This region is recommended to serve users in the eastern United States and eastern Canada
).public String getDescription()
The description of the AWS Region (e.g.,
This region is recommended to serve users in the eastern United States and eastern Canada
).
This region is recommended to serve users in the eastern United States and eastern Canada
).public Region withDescription(String description)
The description of the AWS Region (e.g.,
This region is recommended to serve users in the eastern United States and eastern Canada
).
description
- The description of the AWS Region (e.g.,
This region is recommended to serve users in the eastern United States and eastern Canada
).public void setDisplayName(String displayName)
The display name (e.g., Virginia
).
displayName
- The display name (e.g., Virginia
).public String getDisplayName()
The display name (e.g., Virginia
).
Virginia
).public Region withDisplayName(String displayName)
The display name (e.g., Virginia
).
displayName
- The display name (e.g., Virginia
).public void setName(String name)
The region name (e.g., us-east-1
).
name
- The region name (e.g., us-east-1
).RegionName
public String getName()
The region name (e.g., us-east-1
).
us-east-1
).RegionName
public Region withName(String name)
The region name (e.g., us-east-1
).
name
- The region name (e.g., us-east-1
).RegionName
public void setName(RegionName name)
The region name (e.g., us-east-1
).
name
- The region name (e.g., us-east-1
).RegionName
public Region withName(RegionName name)
The region name (e.g., us-east-1
).
name
- The region name (e.g., us-east-1
).RegionName
public List<AvailabilityZone> getAvailabilityZones()
The Availability Zones. Follows the format us-east-1a
(case-sensitive).
us-east-1a
(case-sensitive).public void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones. Follows the format us-east-1a
(case-sensitive).
availabilityZones
- The Availability Zones. Follows the format us-east-1a
(case-sensitive).public Region withAvailabilityZones(AvailabilityZone... availabilityZones)
The Availability Zones. Follows the format us-east-1a
(case-sensitive).
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection)
or withAvailabilityZones(java.util.Collection)
if
you want to override the existing values.
availabilityZones
- The Availability Zones. Follows the format us-east-1a
(case-sensitive).public Region withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones. Follows the format us-east-1a
(case-sensitive).
availabilityZones
- The Availability Zones. Follows the format us-east-1a
(case-sensitive).public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.