Enum EntitlementDataUnit
- java.lang.Object
-
- java.lang.Enum<EntitlementDataUnit>
-
- software.amazon.awssdk.services.licensemanager.model.EntitlementDataUnit
-
- All Implemented Interfaces:
Serializable,Comparable<EntitlementDataUnit>
@Generated("software.amazon.awssdk:codegen") public enum EntitlementDataUnit extends Enum<EntitlementDataUnit>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntitlementDataUnitfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<EntitlementDataUnit>knownValues()StringtoString()static EntitlementDataUnitvalueOf(String name)Returns the enum constant of this type with the specified name.static EntitlementDataUnit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNT
public static final EntitlementDataUnit COUNT
-
NONE
public static final EntitlementDataUnit NONE
-
SECONDS
public static final EntitlementDataUnit SECONDS
-
MICROSECONDS
public static final EntitlementDataUnit MICROSECONDS
-
MILLISECONDS
public static final EntitlementDataUnit MILLISECONDS
-
BYTES
public static final EntitlementDataUnit BYTES
-
KILOBYTES
public static final EntitlementDataUnit KILOBYTES
-
MEGABYTES
public static final EntitlementDataUnit MEGABYTES
-
GIGABYTES
public static final EntitlementDataUnit GIGABYTES
-
TERABYTES
public static final EntitlementDataUnit TERABYTES
-
BITS
public static final EntitlementDataUnit BITS
-
KILOBITS
public static final EntitlementDataUnit KILOBITS
-
MEGABITS
public static final EntitlementDataUnit MEGABITS
-
GIGABITS
public static final EntitlementDataUnit GIGABITS
-
TERABITS
public static final EntitlementDataUnit TERABITS
-
PERCENT
public static final EntitlementDataUnit PERCENT
-
BYTES_SECOND
public static final EntitlementDataUnit BYTES_SECOND
-
KILOBYTES_SECOND
public static final EntitlementDataUnit KILOBYTES_SECOND
-
MEGABYTES_SECOND
public static final EntitlementDataUnit MEGABYTES_SECOND
-
GIGABYTES_SECOND
public static final EntitlementDataUnit GIGABYTES_SECOND
-
TERABYTES_SECOND
public static final EntitlementDataUnit TERABYTES_SECOND
-
BITS_SECOND
public static final EntitlementDataUnit BITS_SECOND
-
KILOBITS_SECOND
public static final EntitlementDataUnit KILOBITS_SECOND
-
MEGABITS_SECOND
public static final EntitlementDataUnit MEGABITS_SECOND
-
GIGABITS_SECOND
public static final EntitlementDataUnit GIGABITS_SECOND
-
TERABITS_SECOND
public static final EntitlementDataUnit TERABITS_SECOND
-
COUNT_SECOND
public static final EntitlementDataUnit COUNT_SECOND
-
UNKNOWN_TO_SDK_VERSION
public static final EntitlementDataUnit UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static EntitlementDataUnit[] 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 (EntitlementDataUnit c : EntitlementDataUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntitlementDataUnit 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<EntitlementDataUnit>
-
fromValue
public static EntitlementDataUnit 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:
- EntitlementDataUnit corresponding to the value
-
knownValues
public static Set<EntitlementDataUnit> 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 knownEntitlementDataUnits
-
-