@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum KmsGrantOperation extends Enum<KmsGrantOperation>
Enum Constant and Description |
---|
CreateGrant |
Decrypt |
DescribeKey |
Encrypt |
GenerateDataKey |
GenerateDataKeyPair |
GenerateDataKeyPairWithoutPlaintext |
GenerateDataKeyWithoutPlaintext |
GetPublicKey |
ReEncryptFrom |
ReEncryptTo |
RetireGrant |
Sign |
Verify |
Modifier and Type | Method and Description |
---|---|
static KmsGrantOperation |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static KmsGrantOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KmsGrantOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KmsGrantOperation CreateGrant
public static final KmsGrantOperation Decrypt
public static final KmsGrantOperation DescribeKey
public static final KmsGrantOperation Encrypt
public static final KmsGrantOperation GenerateDataKey
public static final KmsGrantOperation GenerateDataKeyPair
public static final KmsGrantOperation GenerateDataKeyPairWithoutPlaintext
public static final KmsGrantOperation GenerateDataKeyWithoutPlaintext
public static final KmsGrantOperation GetPublicKey
public static final KmsGrantOperation ReEncryptFrom
public static final KmsGrantOperation ReEncryptTo
public static final KmsGrantOperation RetireGrant
public static final KmsGrantOperation Sign
public static final KmsGrantOperation Verify
public static KmsGrantOperation[] values()
for (KmsGrantOperation c : KmsGrantOperation.values()) System.out.println(c);
public static KmsGrantOperation 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<KmsGrantOperation>
public static KmsGrantOperation fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.