Class CfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty>
A builder for
CfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.metadataField(String metadataField) Sets the value ofCfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty.getTextField()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metadataField
@Stability(Stable) public CfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty.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.PineconeFieldMappingProperty.Builder textField(String textField) Sets the value ofCfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty.getTextField()- 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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.PineconeFieldMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-