@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HierarchicalChunkingLevelConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Token settings for a layer in a hierarchical chunking configuration.
Constructor and Description |
---|
HierarchicalChunkingLevelConfiguration() |
Modifier and Type | Method and Description |
---|---|
HierarchicalChunkingLevelConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxTokens()
The maximum number of tokens that a chunk can contain in this layer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaxTokens(Integer maxTokens)
The maximum number of tokens that a chunk can contain in this layer.
|
String |
toString()
Returns a string representation of this object.
|
HierarchicalChunkingLevelConfiguration |
withMaxTokens(Integer maxTokens)
The maximum number of tokens that a chunk can contain in this layer.
|
public HierarchicalChunkingLevelConfiguration()
public void setMaxTokens(Integer maxTokens)
The maximum number of tokens that a chunk can contain in this layer.
maxTokens
- The maximum number of tokens that a chunk can contain in this layer.public Integer getMaxTokens()
The maximum number of tokens that a chunk can contain in this layer.
public HierarchicalChunkingLevelConfiguration withMaxTokens(Integer maxTokens)
The maximum number of tokens that a chunk can contain in this layer.
maxTokens
- The maximum number of tokens that a chunk can contain in this layer.public String toString()
toString
in class Object
Object.toString()
public HierarchicalChunkingLevelConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.