@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum BudgetType extends Enum<BudgetType>
The type of a budget. It must be one of the following types:
COST
, USAGE
, RI_UTILIZATION
, RI_COVERAGE
,
SAVINGS_PLANS_UTILIZATION
, or SAVINGS_PLANS_COVERAGE
.
Enum Constant and Description |
---|
COST |
RI_COVERAGE |
RI_UTILIZATION |
SAVINGS_PLANS_COVERAGE |
SAVINGS_PLANS_UTILIZATION |
USAGE |
Modifier and Type | Method and Description |
---|---|
static BudgetType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static BudgetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BudgetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BudgetType USAGE
public static final BudgetType COST
public static final BudgetType RI_UTILIZATION
public static final BudgetType RI_COVERAGE
public static final BudgetType SAVINGS_PLANS_UTILIZATION
public static final BudgetType SAVINGS_PLANS_COVERAGE
public static BudgetType[] values()
for (BudgetType c : BudgetType.values()) System.out.println(c);
public static BudgetType 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<BudgetType>
public static BudgetType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.