encryptionMode property
The type of server-side encryption that you want to use for your data. This
encryption type is part of the endpoint settings or the extra connections
attributes for Amazon S3. You can choose either SSE_S3 (the
default) or SSE_KMS.
To use SSE_S3, create an AWS Identity and Access Management
(IAM) role with a policy that allows "arn:aws:s3:::*" to use
the following actions: "s3:PutObject", "s3:ListBucket"
Implementation
final EncryptionModeValue? encryptionMode;