public enum Regions extends Enum<Regions>
Enum Constant and Description |
---|
AP_SOUTHEAST_2 |
EU_CENTRAL_1 |
EU_WEST_1 |
US_WEST_2 |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Regions |
valueOf(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 US_WEST_2
public static final Regions AP_SOUTHEAST_2
public static final Regions EU_WEST_1
public static final Regions EU_CENTRAL_1
public static Regions[] values()
for (Regions c : Regions.values()) System.out.println(c);
public static Regions valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null