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