public enum MetricData extends Enum<MetricData>
Modifier and Type | Method and Description |
---|---|
static MetricDatum |
newMetricDatum(MetricDatum from,
Dimension... dimensions)
Returns a new metric datum cloned from the given metric datum, but
replacing the dimensions with the newly specified ones.
|
static MetricData |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricData[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static MetricData[] values()
for (MetricData c : MetricData.values()) System.out.println(c);
public static MetricData 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 MetricDatum newMetricDatum(MetricDatum from, Dimension... dimensions)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.