Package com.adaptris.aws2.s3.meta
Class S3ServerSideEncryption
java.lang.Object
com.adaptris.aws2.s3.meta.S3ObjectMetadata
com.adaptris.aws2.s3.meta.S3ServerSideEncryption
- All Implemented Interfaces:
Comparable<S3ObjectMetadata>
Enable S3 Server Side Encryption with AWS managed keys
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(AdaptrisMessage msg, Map<String, String> meta) @NonNull S3ServerSideEncryption.AlgorithmSet the algorithm for server side encryptionWhether or not to actually enable server side encryption.voidsetAlgorithm(@NonNull S3ServerSideEncryption.Algorithm algorithm) Set the algorithm for server side encryptionvoidsetEnabled(Boolean enabled) Whether or not to actually enable server side encryption.Methods inherited from class com.adaptris.aws2.s3.meta.S3ObjectMetadata
compareTo
-
Constructor Details
-
S3ServerSideEncryption
public S3ServerSideEncryption()
-
-
Method Details
-
apply
- Specified by:
applyin classS3ObjectMetadata
-
getEnabled
Whether or not to actually enable server side encryption.This is arguably meaningless since why would you want to define s3-serverside-encryption if you didn't want it, however, it can be useful as a variable substitution flag where some environments might not need it.
-
setEnabled
Whether or not to actually enable server side encryption.This is arguably meaningless since why would you want to define s3-serverside-encryption if you didn't want it, however, it can be useful as a variable substitution flag where some environments might not need it.
-
getAlgorithm
Set the algorithm for server side encryption -
setAlgorithm
Set the algorithm for server side encryption
-