public enum SSEAlgorithm extends Enum<SSEAlgorithm>
| Modifier and Type | Method and Description | 
|---|---|
static SSEAlgorithm | 
fromString(String algorithm)
Returns the SSEAlgorithm enum corresponding to the given string;
 or null if and only if the given algorithm is null. 
 | 
String | 
getAlgorithm()  | 
static SSEAlgorithm | 
getDefault()
Returns the default server side encryption algorithm, which is AES256. 
 | 
String | 
toString()  | 
static SSEAlgorithm | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static SSEAlgorithm[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final SSEAlgorithm AES256
public static final SSEAlgorithm KMS
public static SSEAlgorithm[] values()
for (SSEAlgorithm c : SSEAlgorithm.values()) System.out.println(c);
public static SSEAlgorithm 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 getAlgorithm()
public String toString()
toString in class Enum<SSEAlgorithm>public static SSEAlgorithm fromString(String algorithm)
IllegalArgumentException - if the specified algorithm is not
 supported.public static SSEAlgorithm getDefault()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.