Interface EncryptionConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>,SdkBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>,SdkPojo
- Enclosing class:
- EncryptionConfiguration
public static interface EncryptionConfiguration.Builder extends SdkPojo, CopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EncryptionConfiguration.BuilderencryptionOption(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.BuilderencryptionOption(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.BuilderkmsKey(String kmsKey)ForSSE_KMSandCSE_KMS, this is the KMS key ARN or ID.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
encryptionOption
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.If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
- Parameters:
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.If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionOption,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.If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
- Parameters:
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.If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionOption,EncryptionOption
-
kmsKey
EncryptionConfiguration.Builder kmsKey(String kmsKey)
For
SSE_KMSandCSE_KMS, this is the KMS key ARN or ID.- Parameters:
kmsKey- ForSSE_KMSandCSE_KMS, this is the KMS key ARN or ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-