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 class
S3ServerSideEncryption.Algorithm
-
Constructor Summary
Constructors Constructor Description S3ServerSideEncryption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta)
@NonNull S3ServerSideEncryption.Algorithm
getAlgorithm()
Set the algorithm for server side encryptionjava.lang.Boolean
getEnabled()
Whether or not to actually enable server side encryption.void
setAlgorithm(@NonNull S3ServerSideEncryption.Algorithm algorithm)
Set the algorithm for server side encryptionvoid
setEnabled(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:
apply
in 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
-
-