public static interface EncryptionConfiguration.Builder extends CopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
Modifier and Type | Method and Description |
---|---|
EncryptionConfiguration.Builder |
encryptionOption(EncryptionOption encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3 ),
server-side encryption with KMS-managed keys (SSE-KMS ), or client-side encryption with
KMS-managed keys (CSE-KMS) is used. |
EncryptionConfiguration.Builder |
encryptionOption(String encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3 ),
server-side encryption with KMS-managed keys (SSE-KMS ), or client-side encryption with
KMS-managed keys (CSE-KMS) is used. |
EncryptionConfiguration.Builder |
kmsKey(String kmsKey)
For
SSE-KMS and CSE-KMS , this is the KMS key ARN or ID. |
copy
apply, build
EncryptionConfiguration.Builder encryptionOption(String encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
),
server-side encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.
encryptionOption
- Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
),
server-side encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.EncryptionOption
,
EncryptionOption
EncryptionConfiguration.Builder encryptionOption(EncryptionOption encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
),
server-side encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.
encryptionOption
- Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
),
server-side encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.EncryptionOption
,
EncryptionOption
EncryptionConfiguration.Builder kmsKey(String kmsKey)
For SSE-KMS
and CSE-KMS
, this is the KMS key ARN or ID.
kmsKey
- For SSE-KMS
and CSE-KMS
, this is the KMS key ARN or ID.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.