Class CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.s3.mixins.CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty>
- Enclosing interface:
CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.sseAlgorithm(String sseAlgorithm)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) - Parameters:
kmsKeyArn- If server-side encryption with AWS Key Management Service ( AWS ) keys (SSE-KMS) is specified, you must also specify the KMS key Amazon Resource Name (ARN). You must specify a customer-managed KMS key that's located in the same Region as the general purpose bucket that corresponds to the metadata table configuration.- Returns:
this
-
sseAlgorithm
@Stability(Stable) public CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty.Builder sseAlgorithm(String sseAlgorithm) Sets the value ofCfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty.getSseAlgorithm()- Parameters:
sseAlgorithm- The encryption type specified for a metadata table. To specify server-side encryption with AWS Key Management Service ( AWS ) keys (SSE-KMS), use theaws:kmsvalue. To specify server-side encryption with Amazon S3 managed keys (SSE-S3), use theAES256value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.MetadataTableEncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-