public enum S3AEncryptionMethods extends Enum<S3AEncryptionMethods>
Modifier and Type | Method and Description |
---|---|
String |
getMethod() |
static S3AEncryptionMethods |
getMethod(String name)
Get the encryption mechanism from the value provided.
|
static S3AEncryptionMethods |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static S3AEncryptionMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final S3AEncryptionMethods SSE_S3
public static final S3AEncryptionMethods SSE_KMS
public static final S3AEncryptionMethods SSE_C
public static final S3AEncryptionMethods NONE
public static S3AEncryptionMethods[] values()
for (S3AEncryptionMethods c : S3AEncryptionMethods.values()) System.out.println(c);
public static S3AEncryptionMethods 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 getMethod()
public static S3AEncryptionMethods getMethod(String name) throws IOException
name
- algorithm nameIOException
- if the algorithm is unknownCopyright © 2019 Apache Software Foundation. All Rights Reserved.