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