Class CfnKnowledgeBase.S3VectorsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.S3VectorsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBase.S3VectorsConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBase.S3VectorsConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBase.S3VectorsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBase.S3VectorsConfigurationProperty>
A builder for
CfnKnowledgeBase.S3VectorsConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnKnowledgeBase.S3VectorsConfigurationProperty.getIndexArn()Sets the value ofCfnKnowledgeBase.S3VectorsConfigurationProperty.getIndexName()vectorBucketArn(String vectorBucketArn) Sets the value ofCfnKnowledgeBase.S3VectorsConfigurationProperty.getVectorBucketArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
indexArn
@Stability(Stable) public CfnKnowledgeBase.S3VectorsConfigurationProperty.Builder indexArn(String indexArn) Sets the value ofCfnKnowledgeBase.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 CfnKnowledgeBase.S3VectorsConfigurationProperty.Builder indexName(String indexName) Sets the value ofCfnKnowledgeBase.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 CfnKnowledgeBase.S3VectorsConfigurationProperty.Builder vectorBucketArn(String vectorBucketArn) Sets the value ofCfnKnowledgeBase.S3VectorsConfigurationProperty.getVectorBucketArn()- 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<CfnKnowledgeBase.S3VectorsConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBase.S3VectorsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-