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