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