Class CfnTableBucket.EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.CfnTableBucket.EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableBucket.EncryptionConfigurationProperty>
- Enclosing interface:
CfnTableBucket.EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnTableBucket.EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableBucket.EncryptionConfigurationProperty>
A builder for
CfnTableBucket.EncryptionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTableBucket.EncryptionConfigurationProperty.getKmsKeyArn()sseAlgorithm(String sseAlgorithm) Sets the value ofCfnTableBucket.EncryptionConfigurationProperty.getSseAlgorithm()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnTableBucket.EncryptionConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnTableBucket.EncryptionConfigurationProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the KMS key to use for encryption. This field is required only whensseAlgorithmis set toaws:kms.- Returns:
this
-
sseAlgorithm
@Stability(Stable) public CfnTableBucket.EncryptionConfigurationProperty.Builder sseAlgorithm(String sseAlgorithm) Sets the value ofCfnTableBucket.EncryptionConfigurationProperty.getSseAlgorithm()- Parameters:
sseAlgorithm- The server-side encryption algorithm to use. Valid values areAES256for S3-managed encryption keys, oraws:kmsfor AWS KMS-managed encryption keys. If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableBucket.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnTableBucket.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-