AmazonS3EncryptionClient
             for further details.@Deprecated public enum CryptoStorageMode extends java.lang.Enum<CryptoStorageMode>
ObjectMetadata is the default storage mode. If the ObjectMetadata mode is used, then encryption information will be placed in the metadata of the encrypted object stored in S3. Note: There is a 2 KB limit on the size of the metadata, so be careful that you do not run out of space if you are storing a lot of your own metadata.
If the InstructionFile mode is used, then encryption information will be placed in a separate instruction file that will be stored in the same bucket as the encrypted object in S3. No metadata will be used for storing encryption information.
| Enum Constant and Description | 
|---|
| InstructionFileDeprecated.  | 
| ObjectMetadataDeprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| static CryptoStorageMode | valueOf(java.lang.String name)Deprecated.  Returns the enum constant of this type with the specified name. | 
| static CryptoStorageMode[] | values()Deprecated.  Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final CryptoStorageMode InstructionFile
public static final CryptoStorageMode ObjectMetadata
public static CryptoStorageMode[] values()
for (CryptoStorageMode c : CryptoStorageMode.values()) System.out.println(c);
public static CryptoStorageMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.