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- A name for the vector bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). The bucket name must be unique in the same AWS account for each AWS Region. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name.The bucket name must be between 3 and 63 characters long and must not contain uppercase characters or underscores.
If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
- 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
-