public class S3ServerSideEncryption extends S3ObjectMetadata
Modifier and Type | Class and Description |
---|---|
static class |
S3ServerSideEncryption.Algorithm |
Constructor and Description |
---|
S3ServerSideEncryption() |
Modifier and Type | Method and Description |
---|---|
void |
apply(AdaptrisMessage msg,
com.amazonaws.services.s3.model.ObjectMetadata meta) |
@NonNull S3ServerSideEncryption.Algorithm |
getAlgorithm()
Set the algorithm for server side encryption
|
java.lang.Boolean |
getEnabled()
Whether or not to actually enable server side encryption.
|
void |
setAlgorithm(@NonNull S3ServerSideEncryption.Algorithm algorithm)
Set the algorithm for server side encryption
|
void |
setEnabled(java.lang.Boolean enabled)
Whether or not to actually enable server side encryption.
|
compareTo
public void apply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta)
apply
in class S3ObjectMetadata
public java.lang.Boolean getEnabled()
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.
public void setEnabled(java.lang.Boolean enabled)
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.
@NonNull public @NonNull S3ServerSideEncryption.Algorithm getAlgorithm()
public void setAlgorithm(@NonNull @NonNull S3ServerSideEncryption.Algorithm algorithm)