Enum Constant and Description |
---|
AF_SOUTH_1
af-south-1.
|
AP_EAST_1
ap-east-1.
|
AP_NORTHEAST_1
ap-northeast-1.
|
AP_NORTHEAST_2
ap-northeast-2.
|
AP_SOUTH_1
ap-south-1.
|
AP_SOUTHEAST_1
ap-southeast-1.
|
AP_SOUTHEAST_2
ap-southeast-2.
|
CA_CENTRAL_1
ca-central-1.
|
CN_NORTH_1
cn-north-1.
|
CN_NORTHWEST_1
cn-northwest-1.
|
EU_CENTRAL_1
eu-central-1.
|
EU_NORTH_1
eu-north-1.
|
EU_SOUTH_1
eu-south-1/
|
EU_WEST_1
eu-west-1/
|
EU_WEST_2
eu-west-2.
|
EU_WEST_3
eu-west-3.
|
GovCloud
us-gov-west-1.
|
ME_SOUTH_1
me-south-1.
|
SA_EAST_1
sa-east-1.
|
US_EAST_1
us-east-1.
|
US_EAST_2
us-east-2.
|
US_GOV_EAST_1
us-gov-east-1.
|
US_WEST_1
us-west-1.
|
US_WEST_2
us-west-2.
|
Modifier and Type | Field and Description |
---|---|
static Regions |
DEFAULT_REGION
The default region that new customers in the US are encouraged to use
when using AWS services for the first time.
|
Modifier and Type | Method and Description |
---|---|
static Regions |
fromName(java.lang.String regionName)
Returns a region enum corresponding to the given region name.
|
java.lang.String |
getName() |
static Regions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Regions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Regions GovCloud
public static final Regions US_GOV_EAST_1
public static final Regions US_EAST_1
public static final Regions US_EAST_2
public static final Regions US_WEST_1
public static final Regions US_WEST_2
public static final Regions EU_SOUTH_1
public static final Regions EU_WEST_1
public static final Regions EU_WEST_2
public static final Regions EU_WEST_3
public static final Regions EU_CENTRAL_1
public static final Regions EU_NORTH_1
public static final Regions AP_EAST_1
public static final Regions AP_SOUTH_1
public static final Regions AP_SOUTHEAST_1
public static final Regions AP_SOUTHEAST_2
public static final Regions AP_NORTHEAST_1
public static final Regions AP_NORTHEAST_2
public static final Regions SA_EAST_1
public static final Regions CA_CENTRAL_1
public static final Regions CN_NORTH_1
public static final Regions CN_NORTHWEST_1
public static final Regions ME_SOUTH_1
public static final Regions AF_SOUTH_1
public static final Regions DEFAULT_REGION
public static Regions[] values()
for (Regions c : Regions.values()) System.out.println(c);
public static Regions valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public static Regions fromName(java.lang.String regionName)
regionName
- The name of the region. Ex.: eu-west-1Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.