|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Regions>
com.amazonaws.regions.Regions
public enum Regions
Enumeration of region names
Enum Constant Summary | |
---|---|
AP_NORTHEAST_1
|
|
AP_SOUTHEAST_1
|
|
AP_SOUTHEAST_2
|
|
CN_NORTH_1
|
|
EU_WEST_1
|
|
GovCloud
|
|
SA_EAST_1
|
|
US_EAST_1
|
|
US_WEST_1
|
|
US_WEST_2
|
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
static Regions |
fromName(java.lang.String regionName)
Returns a region enum corresponding to the given region name. |
java.lang.String |
getName()
The name of this region, used in the regions.xml file to identify it. |
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Regions GovCloud
public static final Regions US_EAST_1
public static final Regions US_WEST_1
public static final Regions US_WEST_2
public static final Regions EU_WEST_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 SA_EAST_1
public static final Regions CN_NORTH_1
Field Detail |
---|
public static final Regions DEFAULT_REGION
Method Detail |
---|
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 name
java.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-1
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |