@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum Region extends Enum<Region>
Enum Constant and Description |
---|
ApNortheast1 |
ApSoutheast2 |
EuCentral1 |
EuWest1 |
UsEast1 |
UsEast2 |
UsWest2 |
Modifier and Type | Method and Description |
---|---|
static Region |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static Region |
valueOf(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 UsEast1
public static final Region UsWest2
public static final Region EuCentral1
public static final Region UsEast2
public static final Region EuWest1
public static final Region ApNortheast1
public static final Region ApSoutheast2
public static Region[] values()
for (Region c : Region.values()) System.out.println(c);
public static Region 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 nullpublic static Region fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.