@Generated(value="software.amazon.awssdk:codegen") public enum KeyState extends Enum<KeyState>
| Enum Constant and Description |
|---|
DISABLED |
ENABLED |
PENDING_DELETION |
PENDING_IMPORT |
UNKNOWN_TO_SDK_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static KeyState |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<KeyState> |
knownValues()
|
String |
toString() |
static KeyState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyState ENABLED
public static final KeyState DISABLED
public static final KeyState PENDING_DELETION
public static final KeyState PENDING_IMPORT
public static final KeyState UNKNOWN_TO_SDK_VERSION
public static KeyState[] values()
for (KeyState c : KeyState.values()) System.out.println(c);
public static KeyState 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 static KeyState fromValue(String value)
value - real valueCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.