@Generated(value="software.amazon.awssdk:codegen") public enum CloudWatchRegion extends Enum<CloudWatchRegion>
Enum Constant and Description |
---|
AP_NORTHEAST_1 |
AP_NORTHEAST_2 |
AP_SOUTH_1 |
AP_SOUTHEAST_1 |
AP_SOUTHEAST_2 |
CA_CENTRAL_1 |
EU_CENTRAL_1 |
EU_WEST_1 |
EU_WEST_2 |
SA_EAST_1 |
UNKNOWN_TO_SDK_VERSION |
US_EAST_1 |
US_EAST_2 |
US_WEST_1 |
US_WEST_2 |
Modifier and Type | Method and Description |
---|---|
static CloudWatchRegion |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<CloudWatchRegion> |
knownValues()
|
String |
toString() |
static CloudWatchRegion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloudWatchRegion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudWatchRegion US_EAST_1
public static final CloudWatchRegion US_EAST_2
public static final CloudWatchRegion US_WEST_1
public static final CloudWatchRegion US_WEST_2
public static final CloudWatchRegion CA_CENTRAL_1
public static final CloudWatchRegion EU_CENTRAL_1
public static final CloudWatchRegion EU_WEST_1
public static final CloudWatchRegion EU_WEST_2
public static final CloudWatchRegion AP_SOUTH_1
public static final CloudWatchRegion AP_SOUTHEAST_1
public static final CloudWatchRegion AP_SOUTHEAST_2
public static final CloudWatchRegion AP_NORTHEAST_1
public static final CloudWatchRegion AP_NORTHEAST_2
public static final CloudWatchRegion SA_EAST_1
public static final CloudWatchRegion UNKNOWN_TO_SDK_VERSION
public static CloudWatchRegion[] values()
for (CloudWatchRegion c : CloudWatchRegion.values()) System.out.println(c);
public static CloudWatchRegion 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<CloudWatchRegion>
public static CloudWatchRegion fromValue(String value)
value
- real valuepublic static Set<CloudWatchRegion> knownValues()
values()
to return a Set
of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION
.Set
of known CloudWatchRegion
sCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.