Class CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.metadataField(String metadataField) vectorField(String vectorField)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metadataField
@Stability(Stable) public CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty.Builder metadataField(String metadataField) - Parameters:
metadataField- The name of the field in which Amazon Bedrock stores metadata about the vector store.- Returns:
this
-
textField
@Stability(Stable) public CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty.Builder textField(String textField) - Parameters:
textField- The name of the field in which Amazon Bedrock stores the raw text from your data. The text is split according to the chunking strategy you choose.- Returns:
this
-
vectorField
@Stability(Stable) public CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty.Builder vectorField(String vectorField) - Parameters:
vectorField- The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-