Enum BudgetType
- java.lang.Object
-
- java.lang.Enum<BudgetType>
-
- software.amazon.awssdk.services.budgets.model.BudgetType
-
- All Implemented Interfaces:
Serializable,Comparable<BudgetType>
@Generated("software.amazon.awssdk:codegen") 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, orSAVINGS_PLANS_COVERAGE.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COSTRI_COVERAGERI_UTILIZATIONSAVINGS_PLANS_COVERAGESAVINGS_PLANS_UTILIZATIONUNKNOWN_TO_SDK_VERSIONUSAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BudgetTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<BudgetType>knownValues()StringtoString()static BudgetTypevalueOf(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.
-
-
-
Enum Constant Detail
-
USAGE
public static final BudgetType USAGE
-
COST
public static final BudgetType COST
-
RI_UTILIZATION
public static final BudgetType RI_UTILIZATION
-
RI_COVERAGE
public static final BudgetType RI_COVERAGE
-
SAVINGS_PLANS_UTILIZATION
public static final BudgetType SAVINGS_PLANS_UTILIZATION
-
SAVINGS_PLANS_COVERAGE
public static final BudgetType SAVINGS_PLANS_COVERAGE
-
UNKNOWN_TO_SDK_VERSION
public static final BudgetType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static BudgetType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BudgetType c : BudgetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BudgetType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<BudgetType>
-
fromValue
public static BudgetType fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- BudgetType corresponding to the value
-
knownValues
public static Set<BudgetType> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownBudgetTypes
-
-