Class FixedSizeChunkingConfiguration
java.lang.Object
software.amazon.awssdk.services.bedrockagent.model.FixedSizeChunkingConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FixedSizeChunkingConfiguration.Builder,FixedSizeChunkingConfiguration>
@Generated("software.amazon.awssdk:codegen")
public final class FixedSizeChunkingConfiguration
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<FixedSizeChunkingConfiguration.Builder,FixedSizeChunkingConfiguration>
Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as
NONE, exclude this field.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe maximum number of tokens to include in a chunk.final IntegerThe percentage of overlap between adjacent chunks of a data source.static Class<? extends FixedSizeChunkingConfiguration.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
maxTokens
The maximum number of tokens to include in a chunk.
- Returns:
- The maximum number of tokens to include in a chunk.
-
overlapPercentage
The percentage of overlap between adjacent chunks of a data source.
- Returns:
- The percentage of overlap between adjacent chunks of a data source.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<FixedSizeChunkingConfiguration.Builder,FixedSizeChunkingConfiguration>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-