@Generated(value="software.amazon.awssdk:codegen") public enum Region extends Enum<Region>
| Enum Constant and Description |
|---|
AP_NORTHEAST_1 |
AP_SOUTHEAST_2 |
EU_CENTRAL_1 |
EU_WEST_1 |
UNKNOWN_TO_SDK_VERSION |
US_EAST_1 |
US_EAST_2 |
US_WEST_2 |
| Modifier and Type | Method and Description |
|---|---|
static Region |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<Region> |
knownValues()
|
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 US_EAST_1
public static final Region US_WEST_2
public static final Region EU_CENTRAL_1
public static final Region US_EAST_2
public static final Region EU_WEST_1
public static final Region AP_NORTHEAST_1
public static final Region AP_SOUTHEAST_2
public static final Region UNKNOWN_TO_SDK_VERSION
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 valueCopyright © 2022. All rights reserved.