Class CfnVectorBucket.EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3vectors.CfnVectorBucket.EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVectorBucket.EncryptionConfigurationProperty>
- Enclosing interface:
CfnVectorBucket.EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnVectorBucket.EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVectorBucket.EncryptionConfigurationProperty>
A builder for
CfnVectorBucket.EncryptionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVectorBucket.EncryptionConfigurationProperty.getKmsKeyArn()Sets the value ofCfnVectorBucket.EncryptionConfigurationProperty.getSseType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnVectorBucket.EncryptionConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnVectorBucket.EncryptionConfigurationProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- AWS Key Management Service (KMS) customer managed key ID to use for the encryption configuration. This parameter is allowed if and only if sseType is set to aws:kms- Returns:
this
-
sseType
@Stability(Stable) public CfnVectorBucket.EncryptionConfigurationProperty.Builder sseType(String sseType) Sets the value ofCfnVectorBucket.EncryptionConfigurationProperty.getSseType()- Parameters:
sseType- The server-side encryption type to use for the encryption configuration of the vector bucket. By default, if you don't specify, all new vectors in Amazon S3 vector buckets use server-side encryption with Amazon S3 managed keys (SSE-S3), specifically AES256.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVectorBucket.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnVectorBucket.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-