Class CfnDataSource.VectorIngestionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.VectorIngestionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.VectorIngestionConfigurationProperty>
- Enclosing interface:
CfnDataSource.VectorIngestionConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.VectorIngestionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.VectorIngestionConfigurationProperty>
A builder for
CfnDataSource.VectorIngestionConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.chunkingConfiguration
(IResolvable chunkingConfiguration) chunkingConfiguration
(CfnDataSource.ChunkingConfigurationProperty chunkingConfiguration) customTransformationConfiguration
(IResolvable customTransformationConfiguration) customTransformationConfiguration
(CfnDataSource.CustomTransformationConfigurationProperty customTransformationConfiguration) parsingConfiguration
(IResolvable parsingConfiguration) parsingConfiguration
(CfnDataSource.ParsingConfigurationProperty parsingConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
chunkingConfiguration
@Stability(Stable) public CfnDataSource.VectorIngestionConfigurationProperty.Builder chunkingConfiguration(IResolvable chunkingConfiguration) - 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 CfnDataSource.VectorIngestionConfigurationProperty.Builder chunkingConfiguration(CfnDataSource.ChunkingConfigurationProperty chunkingConfiguration) - 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
-
customTransformationConfiguration
@Stability(Stable) public CfnDataSource.VectorIngestionConfigurationProperty.Builder customTransformationConfiguration(IResolvable customTransformationConfiguration) Sets the value ofCfnDataSource.VectorIngestionConfigurationProperty.getCustomTransformationConfiguration()
- Parameters:
customTransformationConfiguration
- A custom document transformer for parsed data source documents.- Returns:
this
-
customTransformationConfiguration
@Stability(Stable) public CfnDataSource.VectorIngestionConfigurationProperty.Builder customTransformationConfiguration(CfnDataSource.CustomTransformationConfigurationProperty customTransformationConfiguration) Sets the value ofCfnDataSource.VectorIngestionConfigurationProperty.getCustomTransformationConfiguration()
- Parameters:
customTransformationConfiguration
- A custom document transformer for parsed data source documents.- Returns:
this
-
parsingConfiguration
@Stability(Stable) public CfnDataSource.VectorIngestionConfigurationProperty.Builder parsingConfiguration(IResolvable parsingConfiguration) - Parameters:
parsingConfiguration
- A custom parser for data source documents.- Returns:
this
-
parsingConfiguration
@Stability(Stable) public CfnDataSource.VectorIngestionConfigurationProperty.Builder parsingConfiguration(CfnDataSource.ParsingConfigurationProperty parsingConfiguration) - Parameters:
parsingConfiguration
- A custom parser for data source documents.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.VectorIngestionConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.VectorIngestionConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-