@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FixedSizeChunkingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configures fixed size chunking strategy
| Constructor and Description |
|---|
FixedSizeChunkingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
FixedSizeChunkingConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxTokens()
The maximum number of tokens per chunk.
|
Integer |
getOverlapPercentage()
The overlap percentage between adjacent chunks.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setMaxTokens(Integer maxTokens)
The maximum number of tokens per chunk.
|
void |
setOverlapPercentage(Integer overlapPercentage)
The overlap percentage between adjacent chunks.
|
String |
toString()
Returns a string representation of this object.
|
FixedSizeChunkingConfiguration |
withMaxTokens(Integer maxTokens)
The maximum number of tokens per chunk.
|
FixedSizeChunkingConfiguration |
withOverlapPercentage(Integer overlapPercentage)
The overlap percentage between adjacent chunks.
|
public void setMaxTokens(Integer maxTokens)
The maximum number of tokens per chunk.
maxTokens - The maximum number of tokens per chunk.public Integer getMaxTokens()
The maximum number of tokens per chunk.
public FixedSizeChunkingConfiguration withMaxTokens(Integer maxTokens)
The maximum number of tokens per chunk.
maxTokens - The maximum number of tokens per chunk.public void setOverlapPercentage(Integer overlapPercentage)
The overlap percentage between adjacent chunks.
overlapPercentage - The overlap percentage between adjacent chunks.public Integer getOverlapPercentage()
The overlap percentage between adjacent chunks.
public FixedSizeChunkingConfiguration withOverlapPercentage(Integer overlapPercentage)
The overlap percentage between adjacent chunks.
overlapPercentage - The overlap percentage between adjacent chunks.public String toString()
toString in class ObjectObject.toString()public FixedSizeChunkingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.