Interface FixedSizeChunkingConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FixedSizeChunkingConfiguration.Builder,FixedSizeChunkingConfiguration>,SdkBuilder<FixedSizeChunkingConfiguration.Builder,FixedSizeChunkingConfiguration>,SdkPojo
- Enclosing class:
- FixedSizeChunkingConfiguration
public static interface FixedSizeChunkingConfiguration.Builder extends SdkPojo, CopyableBuilder<FixedSizeChunkingConfiguration.Builder,FixedSizeChunkingConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FixedSizeChunkingConfiguration.BuildermaxTokens(Integer maxTokens)The maximum number of tokens to include in a chunk.FixedSizeChunkingConfiguration.BuilderoverlapPercentage(Integer overlapPercentage)The percentage of overlap between adjacent chunks of a 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
-
maxTokens
FixedSizeChunkingConfiguration.Builder maxTokens(Integer maxTokens)
The maximum number of tokens to include in a chunk.
- Parameters:
maxTokens- The maximum number of tokens to include in a chunk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overlapPercentage
FixedSizeChunkingConfiguration.Builder overlapPercentage(Integer overlapPercentage)
The percentage of overlap between adjacent chunks of a data source.
- Parameters:
overlapPercentage- The percentage of overlap between adjacent chunks of a data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-