@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum Statistic extends Enum<Statistic>
Enum Constant and Description |
---|
Average |
Maximum |
Minimum |
SampleCount |
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 SampleCount
public static final Statistic Average
public static final Statistic Sum
public static final Statistic Minimum
public static final Statistic Maximum
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.Copyright © 2021. All rights reserved.