@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FixedSizeChunkingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as
NONE, exclude this field.
| Constructor and Description |
|---|
FixedSizeChunkingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
FixedSizeChunkingConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxTokens()
The maximum number of tokens to include in a chunk.
|
Integer |
getOverlapPercentage()
The percentage of overlap between adjacent chunks of a data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMaxTokens(Integer maxTokens)
The maximum number of tokens to include in a chunk.
|
void |
setOverlapPercentage(Integer overlapPercentage)
The percentage of overlap between adjacent chunks of a data source.
|
String |
toString()
Returns a string representation of this object.
|
FixedSizeChunkingConfiguration |
withMaxTokens(Integer maxTokens)
The maximum number of tokens to include in a chunk.
|
FixedSizeChunkingConfiguration |
withOverlapPercentage(Integer overlapPercentage)
The percentage of overlap between adjacent chunks of a data source.
|
public void setMaxTokens(Integer maxTokens)
The maximum number of tokens to include in a chunk.
maxTokens - The maximum number of tokens to include in a chunk.public Integer getMaxTokens()
The maximum number of tokens to include in a chunk.
public FixedSizeChunkingConfiguration withMaxTokens(Integer maxTokens)
The maximum number of tokens to include in a chunk.
maxTokens - The maximum number of tokens to include in a chunk.public void setOverlapPercentage(Integer overlapPercentage)
The percentage of overlap between adjacent chunks of a data source.
overlapPercentage - The percentage of overlap between adjacent chunks of a data source.public Integer getOverlapPercentage()
The percentage of overlap between adjacent chunks of a data source.
public FixedSizeChunkingConfiguration withOverlapPercentage(Integer overlapPercentage)
The percentage of overlap between adjacent chunks of a data source.
overlapPercentage - The percentage of overlap between adjacent chunks of a data source.public String toString()
toString in class ObjectObject.toString()public FixedSizeChunkingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.