Class CfnIndex.EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3vectors.CfnIndex.EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndex.EncryptionConfigurationProperty>
- Enclosing interface:
CfnIndex.EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnIndex.EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndex.EncryptionConfigurationProperty>
A builder for
CfnIndex.EncryptionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnIndex.EncryptionConfigurationProperty.getKmsKeyArn()Sets the value ofCfnIndex.EncryptionConfigurationProperty.getSseType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnIndex.EncryptionConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnIndex.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 ifsseTypeis set toaws:kms.To specify the KMS key, you must use the format of the KMS key Amazon Resource Name (ARN).
For example, specify Key ARN in the following format:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab- Returns:
this
-
sseType
Sets the value ofCfnIndex.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), specificallyAES256.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndex.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnIndex.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-