Class CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty>
- Enclosing interface:
CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty
@Stability(Stable)
public static final class CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.chunkingConfiguration(CfnKnowledgeBasePropsMixin.ChunkingConfigurationProperty chunkingConfiguration) chunkingConfiguration(IResolvable chunkingConfiguration) parsingConfiguration(CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty parsingConfiguration) parsingConfiguration(IResolvable parsingConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
chunkingConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.Builder chunkingConfiguration(IResolvable chunkingConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.getChunkingConfiguration()- Parameters:
chunkingConfiguration- Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.- Returns:
this
-
chunkingConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.Builder chunkingConfiguration(CfnKnowledgeBasePropsMixin.ChunkingConfigurationProperty chunkingConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.getChunkingConfiguration()- Parameters:
chunkingConfiguration- Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.- Returns:
this
-
parsingConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.Builder parsingConfiguration(IResolvable parsingConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.getParsingConfiguration()- Parameters:
parsingConfiguration- A custom parser for data source documents.- Returns:
this
-
parsingConfiguration
@Stability(Stable) public CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.Builder parsingConfiguration(CfnKnowledgeBasePropsMixin.ParsingConfigurationProperty parsingConfiguration) Sets the value ofCfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty.getParsingConfiguration()- Parameters:
parsingConfiguration- A custom parser for data source documents.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty>- Returns:
- a new instance of
CfnKnowledgeBasePropsMixin.VectorIngestionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-