@Generated(value="software.amazon.awssdk:codegen") public enum UsageState extends Enum<UsageState>
| Enum Constant and Description |
|---|
IN_USE |
NOT_IN_USE |
UNKNOWN_TO_SDK_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static UsageState |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<UsageState> |
knownValues()
|
String |
toString() |
static UsageState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UsageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsageState IN_USE
public static final UsageState NOT_IN_USE
public static final UsageState UNKNOWN_TO_SDK_VERSION
public static UsageState[] values()
for (UsageState c : UsageState.values()) System.out.println(c);
public static UsageState 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<UsageState>public static UsageState fromValue(String value)
value - real valuepublic static Set<UsageState> 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 UsageStatesCopyright © 2023. All rights reserved.