@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum Domain extends Enum<Domain>
Enum Constant and Description |
---|
CUSTOM |
EC2_CAPACITY |
INVENTORY_PLANNING |
METRICS |
RETAIL |
WEB_TRAFFIC |
WORK_FORCE |
Modifier and Type | Method and Description |
---|---|
static Domain |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static Domain |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Domain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Domain RETAIL
public static final Domain CUSTOM
public static final Domain INVENTORY_PLANNING
public static final Domain EC2_CAPACITY
public static final Domain WORK_FORCE
public static final Domain WEB_TRAFFIC
public static final Domain METRICS
public static Domain[] values()
for (Domain c : Domain.values()) System.out.println(c);
public static Domain 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 Domain fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.