@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Region extends Object implements Serializable, Cloneable, StructuredPojo
Describes the Amazon Web Services 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 (
NA , meaning North America). |
String |
getDescription()
The description of the Amazon Web Services Region (
This region is recommended to serve users in the eastern United States and eastern Canada ). |
String |
getDisplayName()
The display name (
Ohio ). |
String |
getName()
The region name (
us-east-2 ). |
List<AvailabilityZone> |
getRelationalDatabaseAvailabilityZones()
The Availability Zones for databases.
|
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 (
NA , meaning North America). |
void |
setDescription(String description)
The description of the Amazon Web Services Region (
This region is recommended to serve users in the eastern United States and eastern Canada ). |
void |
setDisplayName(String displayName)
The display name (
Ohio ). |
void |
setName(RegionName name)
The region name (
us-east-2 ). |
void |
setName(String name)
The region name (
us-east-2 ). |
void |
setRelationalDatabaseAvailabilityZones(Collection<AvailabilityZone> relationalDatabaseAvailabilityZones)
The Availability Zones for databases.
|
String |
toString()
Returns a string representation of this object.
|
Region |
withAvailabilityZones(AvailabilityZone... availabilityZones)
The Availability Zones.
|
Region |
withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones.
|
Region |
withContinentCode(String continentCode)
The continent code (
NA , meaning North America). |
Region |
withDescription(String description)
The description of the Amazon Web Services Region (
This region is recommended to serve users in the eastern United States and eastern Canada ). |
Region |
withDisplayName(String displayName)
The display name (
Ohio ). |
Region |
withName(RegionName name)
The region name (
us-east-2 ). |
Region |
withName(String name)
The region name (
us-east-2 ). |
Region |
withRelationalDatabaseAvailabilityZones(AvailabilityZone... relationalDatabaseAvailabilityZones)
The Availability Zones for databases.
|
Region |
withRelationalDatabaseAvailabilityZones(Collection<AvailabilityZone> relationalDatabaseAvailabilityZones)
The Availability Zones for databases.
|
public void setContinentCode(String continentCode)
The continent code (NA
, meaning North America).
continentCode
- The continent code (NA
, meaning North America).public String getContinentCode()
The continent code (NA
, meaning North America).
NA
, meaning North America).public Region withContinentCode(String continentCode)
The continent code (NA
, meaning North America).
continentCode
- The continent code (NA
, meaning North America).public void setDescription(String description)
The description of the Amazon Web Services Region (
This region is recommended to serve users in the eastern United States and eastern Canada
).
description
- The description of the Amazon Web Services Region (
This region is recommended to serve users in the eastern United States and eastern Canada
).public String getDescription()
The description of the Amazon Web Services Region (
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 Amazon Web Services Region (
This region is recommended to serve users in the eastern United States and eastern Canada
).
description
- The description of the Amazon Web Services Region (
This region is recommended to serve users in the eastern United States and eastern Canada
).public void setDisplayName(String displayName)
The display name (Ohio
).
displayName
- The display name (Ohio
).public String getDisplayName()
The display name (Ohio
).
Ohio
).public Region withDisplayName(String displayName)
The display name (Ohio
).
displayName
- The display name (Ohio
).public void setName(String name)
The region name (us-east-2
).
name
- The region name (us-east-2
).RegionName
public String getName()
The region name (us-east-2
).
us-east-2
).RegionName
public Region withName(String name)
The region name (us-east-2
).
name
- The region name (us-east-2
).RegionName
public void setName(RegionName name)
The region name (us-east-2
).
name
- The region name (us-east-2
).RegionName
public Region withName(RegionName name)
The region name (us-east-2
).
name
- The region name (us-east-2
).RegionName
public List<AvailabilityZone> getAvailabilityZones()
The Availability Zones. Follows the format us-east-2a
(case-sensitive).
us-east-2a
(case-sensitive).public void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones. Follows the format us-east-2a
(case-sensitive).
availabilityZones
- The Availability Zones. Follows the format us-east-2a
(case-sensitive).public Region withAvailabilityZones(AvailabilityZone... availabilityZones)
The Availability Zones. Follows the format us-east-2a
(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-2a
(case-sensitive).public Region withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones. Follows the format us-east-2a
(case-sensitive).
availabilityZones
- The Availability Zones. Follows the format us-east-2a
(case-sensitive).public List<AvailabilityZone> getRelationalDatabaseAvailabilityZones()
The Availability Zones for databases. Follows the format us-east-2a
(case-sensitive).
us-east-2a
(case-sensitive).public void setRelationalDatabaseAvailabilityZones(Collection<AvailabilityZone> relationalDatabaseAvailabilityZones)
The Availability Zones for databases. Follows the format us-east-2a
(case-sensitive).
relationalDatabaseAvailabilityZones
- The Availability Zones for databases. Follows the format us-east-2a
(case-sensitive).public Region withRelationalDatabaseAvailabilityZones(AvailabilityZone... relationalDatabaseAvailabilityZones)
The Availability Zones for databases. Follows the format us-east-2a
(case-sensitive).
NOTE: This method appends the values to the existing list (if any). Use
setRelationalDatabaseAvailabilityZones(java.util.Collection)
or
withRelationalDatabaseAvailabilityZones(java.util.Collection)
if you want to override the existing
values.
relationalDatabaseAvailabilityZones
- The Availability Zones for databases. Follows the format us-east-2a
(case-sensitive).public Region withRelationalDatabaseAvailabilityZones(Collection<AvailabilityZone> relationalDatabaseAvailabilityZones)
The Availability Zones for databases. Follows the format us-east-2a
(case-sensitive).
relationalDatabaseAvailabilityZones
- The Availability Zones for databases. Follows the format us-east-2a
(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.