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