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