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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.chunkingConfiguration
(IResolvable chunkingConfiguration) chunkingConfiguration
(CfnDataSource.ChunkingConfigurationProperty chunkingConfiguration)
-
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
-
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
-