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 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 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. 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<CfnVectorBucket.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnVectorBucket.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-