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