Class CfnVectorBucketPropsMixin.EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3vectors.CfnVectorBucketPropsMixin.EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVectorBucketPropsMixin.EncryptionConfigurationProperty>
- Enclosing interface:
CfnVectorBucketPropsMixin.EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnVectorBucketPropsMixin.EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVectorBucketPropsMixin.EncryptionConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVectorBucketPropsMixin.EncryptionConfigurationProperty.getKmsKeyArn()Sets the value ofCfnVectorBucketPropsMixin.EncryptionConfigurationProperty.getSseType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnVectorBucketPropsMixin.EncryptionConfigurationProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnVectorBucketPropsMixin.EncryptionConfigurationProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- AWS Key Management Service (KMS) customer managed key ARN to use for the encryption configuration. This parameter is required if and only ifSseTypeis set toaws:kms.You must specify the full ARN of the KMS key. Key IDs or key aliases aren't supported.
Amazon S3 Vectors only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in AWS KMS in the AWS Key Management Service Developer Guide .
- Returns:
this
-
sseType
@Stability(Stable) public CfnVectorBucketPropsMixin.EncryptionConfigurationProperty.Builder sseType(String sseType) Sets the value ofCfnVectorBucketPropsMixin.EncryptionConfigurationProperty.getSseType()- Parameters:
sseType- The server-side encryption type to use for the encryption configuration of the vector bucket. Valid values areAES256for Amazon S3 managed keys andaws:kmsfor AWS KMS keys.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVectorBucketPropsMixin.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnVectorBucketPropsMixin.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-