@Generated(value="software.amazon.awssdk:codegen") public enum EntitlementUnit extends Enum<EntitlementUnit>
| Modifier and Type | Method and Description |
|---|---|
static EntitlementUnit |
fromValue(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()
|
String |
toString() |
static EntitlementUnit |
valueOf(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.
|
public static final EntitlementUnit COUNT
public static final EntitlementUnit NONE
public static final EntitlementUnit SECONDS
public static final EntitlementUnit MICROSECONDS
public static final EntitlementUnit MILLISECONDS
public static final EntitlementUnit BYTES
public static final EntitlementUnit KILOBYTES
public static final EntitlementUnit MEGABYTES
public static final EntitlementUnit GIGABYTES
public static final EntitlementUnit TERABYTES
public static final EntitlementUnit BITS
public static final EntitlementUnit KILOBITS
public static final EntitlementUnit MEGABITS
public static final EntitlementUnit GIGABITS
public static final EntitlementUnit TERABITS
public static final EntitlementUnit PERCENT
public static final EntitlementUnit BYTES_SECOND
public static final EntitlementUnit KILOBYTES_SECOND
public static final EntitlementUnit MEGABYTES_SECOND
public static final EntitlementUnit GIGABYTES_SECOND
public static final EntitlementUnit TERABYTES_SECOND
public static final EntitlementUnit BITS_SECOND
public static final EntitlementUnit KILOBITS_SECOND
public static final EntitlementUnit MEGABITS_SECOND
public static final EntitlementUnit GIGABITS_SECOND
public static final EntitlementUnit TERABITS_SECOND
public static final EntitlementUnit COUNT_SECOND
public static final EntitlementUnit UNKNOWN_TO_SDK_VERSION
public static EntitlementUnit[] values()
for (EntitlementUnit c : EntitlementUnit.values()) System.out.println(c);
public static EntitlementUnit valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<EntitlementUnit>public static EntitlementUnit fromValue(String value)
value - real valuepublic static Set<EntitlementUnit> knownValues()
values() to return a Set of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION.Set of known EntitlementUnitsCopyright © 2023. All rights reserved.