Class S3ServerSideEncryption

java.lang.Object
com.adaptris.aws2.s3.meta.S3ObjectMetadata
com.adaptris.aws2.s3.meta.S3ServerSideEncryption
All Implemented Interfaces:
Comparable<S3ObjectMetadata>

public class S3ServerSideEncryption extends S3ObjectMetadata
Enable S3 Server Side Encryption with AWS managed keys
  • Constructor Details

    • S3ServerSideEncryption

      public S3ServerSideEncryption()
  • Method Details

    • apply

      public void apply(AdaptrisMessage msg, Map<String,String> meta)
      Specified by:
      apply in class S3ObjectMetadata
    • getEnabled

      public 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(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