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