Package com.adaptris.aws.s3.meta
Class S3ServerSideEncryption
- java.lang.Object
-
- com.adaptris.aws.s3.meta.S3ObjectMetadata
-
- com.adaptris.aws.s3.meta.S3ServerSideEncryption
-
- All Implemented Interfaces:
java.lang.Comparable<S3ObjectMetadata>
public class S3ServerSideEncryption extends S3ObjectMetadata
Enable S3 Server Side Encryption with AWS managed keys
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classS3ServerSideEncryption.Algorithm
-
Constructor Summary
Constructors Constructor Description S3ServerSideEncryption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta)@NonNull S3ServerSideEncryption.AlgorithmgetAlgorithm()Set the algorithm for server side encryptionjava.lang.BooleangetEnabled()Whether or not to actually enable server side encryption.voidsetAlgorithm(@NonNull S3ServerSideEncryption.Algorithm algorithm)Set the algorithm for server side encryptionvoidsetEnabled(java.lang.Boolean enabled)Whether or not to actually enable server side encryption.-
Methods inherited from class com.adaptris.aws.s3.meta.S3ObjectMetadata
compareTo
-
-
-
-
Method Detail
-
apply
public void apply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta)
- Specified by:
applyin classS3ObjectMetadata
-
getEnabled
public java.lang.Boolean 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
public void setEnabled(java.lang.Boolean enabled)
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
@NonNull public @NonNull S3ServerSideEncryption.Algorithm getAlgorithm()
Set the algorithm for server side encryption
-
setAlgorithm
public void setAlgorithm(@NonNull @NonNull S3ServerSideEncryption.Algorithm algorithm)Set the algorithm for server side encryption
-
-