Interface VectorIngestionConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VectorIngestionConfiguration.Builder,VectorIngestionConfiguration>,SdkBuilder<VectorIngestionConfiguration.Builder,VectorIngestionConfiguration>,SdkPojo
- Enclosing class:
- VectorIngestionConfiguration
public static interface VectorIngestionConfiguration.Builder extends SdkPojo, CopyableBuilder<VectorIngestionConfiguration.Builder,VectorIngestionConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VectorIngestionConfiguration.BuilderchunkingConfiguration(Consumer<ChunkingConfiguration.Builder> chunkingConfiguration)Details about how to chunk the documents in the data source.VectorIngestionConfiguration.BuilderchunkingConfiguration(ChunkingConfiguration chunkingConfiguration)Details about how to chunk the documents in the data source.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
chunkingConfiguration
VectorIngestionConfiguration.Builder chunkingConfiguration(ChunkingConfiguration 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
chunkingConfiguration
default VectorIngestionConfiguration.Builder chunkingConfiguration(Consumer<ChunkingConfiguration.Builder> 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.
This is a convenience method that creates an instance of theChunkingConfiguration.Builderavoiding the need to create one manually viaChunkingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochunkingConfiguration(ChunkingConfiguration).- Parameters:
chunkingConfiguration- a consumer that will call methods onChunkingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
chunkingConfiguration(ChunkingConfiguration)
-
-