Enum TierType
- All Implemented Interfaces:
Serializable
,Comparable<TierType>
,java.lang.constant.Constable
The commitment tier for the next month.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEnum value Commitment_100000AUHours.Enum value Commitment_10000AUHours.Enum value Commitment_1000AUHours.Enum value Commitment_100AUHours.Enum value Commitment_500000AUHours.Enum value Commitment_50000AUHours.Enum value Commitment_5000AUHours.Enum value Commitment_500AUHours.Enum value Consumption. -
Method Summary
Modifier and TypeMethodDescriptionstatic TierType
fromString
(String value) Parses a serialized value to a TierType instance.toString()
static TierType
Returns the enum constant of this type with the specified name.static TierType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONSUMPTION
Enum value Consumption. -
COMMITMENT_100AUHOURS
Enum value Commitment_100AUHours. -
COMMITMENT_500AUHOURS
Enum value Commitment_500AUHours. -
COMMITMENT_1000AUHOURS
Enum value Commitment_1000AUHours. -
COMMITMENT_5000AUHOURS
Enum value Commitment_5000AUHours. -
COMMITMENT_10000AUHOURS
Enum value Commitment_10000AUHours. -
COMMITMENT_50000AUHOURS
Enum value Commitment_50000AUHours. -
COMMITMENT_100000AUHOURS
Enum value Commitment_100000AUHours. -
COMMITMENT_500000AUHOURS
Enum value Commitment_500000AUHours.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
fromString
Parses a serialized value to a TierType instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed TierType object, or null if unable to parse.
-
toString
-