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