Class CfnKnowledgeBasePropsMixin.NeptuneAnalyticsFieldMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.NeptuneAnalyticsFieldMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.NeptuneAnalyticsFieldMappingProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.NeptuneAnalyticsFieldMappingProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.NeptuneAnalyticsFieldMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.NeptuneAnalyticsFieldMappingProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.metadataField(String metadataField)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metadataField
@Stability(Stable) public CfnKnowledgeBasePropsMixin.NeptuneAnalyticsFieldMappingProperty.Builder metadataField(String metadataField) Sets the value ofCfnKnowledgeBasePropsMixin.NeptuneAnalyticsFieldMappingProperty.getMetadataField()- Parameters:
metadataField- The name of the field in which Amazon Bedrock stores metadata about the vector store.- Returns:
this
-
textField
@Stability(Stable) public CfnKnowledgeBasePropsMixin.NeptuneAnalyticsFieldMappingProperty.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.NeptuneAnalyticsFieldMappingProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.NeptuneAnalyticsFieldMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-