Class CfnVectorBucketProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3vectors.CfnVectorBucketProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVectorBucketProps>
- Enclosing interface:
CfnVectorBucketProps
@Stability(Stable)
public static final class CfnVectorBucketProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVectorBucketProps>
A builder for
CfnVectorBucketProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnVectorBucketProps.getEncryptionConfiguration()encryptionConfiguration(CfnVectorBucket.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnVectorBucketProps.getEncryptionConfiguration()vectorBucketName(String vectorBucketName) Sets the value ofCfnVectorBucketProps.getVectorBucketName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionConfiguration
@Stability(Stable) public CfnVectorBucketProps.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnVectorBucketProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- The encryption configuration for the vector bucket.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnVectorBucketProps.Builder encryptionConfiguration(CfnVectorBucket.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnVectorBucketProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- The encryption configuration for the vector bucket.- Returns:
this
-
vectorBucketName
Sets the value ofCfnVectorBucketProps.getVectorBucketName()- Parameters:
vectorBucketName- The name of the vector bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVectorBucketProps>- Returns:
- a new instance of
CfnVectorBucketProps - Throws:
NullPointerException- if any required attribute was not provided
-