Class CfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty.getIndexArn()Sets the value ofCfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty.getIndexName()vectorBucketArn(String vectorBucketArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
indexArn
@Stability(Stable) public CfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty.Builder indexArn(String indexArn) Sets the value ofCfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty.getIndexArn()- Parameters:
indexArn- The Amazon Resource Name (ARN) of the vector index used for the knowledge base. This ARN identifies the specific vector index resource within Amazon Bedrock.- Returns:
this
-
indexName
@Stability(Stable) public CfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty.Builder indexName(String indexName) Sets the value ofCfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty.getIndexName()- Parameters:
indexName- The name of the vector index used for the knowledge base. This name identifies the vector index within the Amazon Bedrock service.- Returns:
this
-
vectorBucketArn
@Stability(Stable) public CfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty.Builder vectorBucketArn(String vectorBucketArn) - Parameters:
vectorBucketArn- The Amazon Resource Name (ARN) of the S3 bucket where vector embeddings are stored. This bucket contains the vector data used by the knowledge base.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.S3VectorsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-