Enum Units.Energy
-
- All Implemented Interfaces:
-
com.vmware.aria.operations.definition.UnitGroup
,java.io.Serializable
,kotlin.Comparable
public enum Units.Energy extends Enum<Units.Energy> implements UnitGroup
-
-
Field Summary
Fields Modifier and Type Field Description private final SdkUnit
unit
private final String
name
private final Integer
ordinal
private final EnumEntries<Units.Energy>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description NANOWATT_HOURS
MICROWATT_HOURS
MILLIWATT_HOURS
WATT_HOURS
KILOWATT_HOURS
MEGAWATT_HOURS
GIGAWATT_HOURS
TERAWATT_HOURS
-
Method Summary
Modifier and Type Method Description final Units.Energy
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<Units.Energy>
values()
Returns an array containing the constants of this enum type, in the order they're declared. SdkUnit
getUnit()
final EnumEntries<Units.Energy>
getEntries()
-
-
Method Detail
-
valueOf
final Units.Energy valueOf(String value)
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.)
-
values
final Array<Units.Energy> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<Units.Energy> getEntries()
-
-
-
-