@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum RegionName extends Enum<RegionName>
Enum Constant and Description |
---|
ApNortheast1 |
ApNortheast2 |
ApSouth1 |
ApSoutheast1 |
ApSoutheast2 |
CaCentral1 |
EuCentral1 |
EuNorth1 |
EuWest1 |
EuWest2 |
EuWest3 |
UsEast1 |
UsEast2 |
UsWest1 |
UsWest2 |
Modifier and Type | Method and Description |
---|---|
static RegionName |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static RegionName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionName UsEast1
public static final RegionName UsEast2
public static final RegionName UsWest1
public static final RegionName UsWest2
public static final RegionName EuWest1
public static final RegionName EuWest2
public static final RegionName EuWest3
public static final RegionName EuCentral1
public static final RegionName CaCentral1
public static final RegionName ApSouth1
public static final RegionName ApSoutheast1
public static final RegionName ApSoutheast2
public static final RegionName ApNortheast1
public static final RegionName ApNortheast2
public static final RegionName EuNorth1
public static RegionName[] values()
for (RegionName c : RegionName.values()) System.out.println(c);
public static RegionName 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 String toString()
toString
in class Enum<RegionName>
public static RegionName fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.