Enum Constant and Description |
---|
AP_NORTHEAST_1 |
AP_SOUTHEAST_1 |
AP_SOUTHEAST_2 |
EU |
EU_CENTRAL_1 |
SA_EAST_1 |
US |
US_WEST_1 |
US_WEST_2 |
Modifier and Type | Method and Description |
---|---|
static Region |
fromConstraint(java.lang.String constraint) |
java.lang.String |
getConstraint() |
static Region |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Region[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Region US
public static final Region US_WEST_1
public static final Region US_WEST_2
public static final Region EU
public static final Region EU_CENTRAL_1
public static final Region AP_SOUTHEAST_1
public static final Region AP_SOUTHEAST_2
public static final Region AP_NORTHEAST_1
public static final Region SA_EAST_1
public static Region[] values()
for (Region c : Region.values()) System.out.println(c);
public static Region 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 static Region fromConstraint(java.lang.String constraint)
public java.lang.String getConstraint()