Class CfnTableBucketPropsMixin.EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3tables.CfnTableBucketPropsMixin.EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableBucketPropsMixin.EncryptionConfigurationProperty>
- Enclosing interface:
CfnTableBucketPropsMixin.EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnTableBucketPropsMixin.EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableBucketPropsMixin.EncryptionConfigurationProperty>
A builder for
CfnTableBucketPropsMixin.EncryptionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTableBucketPropsMixin.EncryptionConfigurationProperty.getKmsKeyArn()sseAlgorithm(String sseAlgorithm)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnTableBucketPropsMixin.EncryptionConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnTableBucketPropsMixin.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 CfnTableBucketPropsMixin.EncryptionConfigurationProperty.Builder sseAlgorithm(String sseAlgorithm) - 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<CfnTableBucketPropsMixin.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnTableBucketPropsMixin.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-