@Generated(value="software.amazon.awssdk:codegen") public enum AWSRegion extends Enum<AWSRegion>
Enum Constant and Description |
---|
AP_NORTHEAST_1 |
AP_SOUTHEAST_1 |
AP_SOUTHEAST_2 |
EU_CENTRAL_1 |
EU_WEST_1 |
UNKNOWN_TO_SDK_VERSION |
US_EAST_1 |
US_WEST_1 |
US_WEST_2 |
Modifier and Type | Method and Description |
---|---|
static AWSRegion |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<AWSRegion> |
knownValues()
|
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 US_EAST_1
public static final AWSRegion US_WEST_1
public static final AWSRegion US_WEST_2
public static final AWSRegion EU_CENTRAL_1
public static final AWSRegion EU_WEST_1
public static final AWSRegion AP_SOUTHEAST_1
public static final AWSRegion AP_SOUTHEAST_2
public static final AWSRegion AP_NORTHEAST_1
public static final AWSRegion UNKNOWN_TO_SDK_VERSION
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 valueCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.