Interface EncodedTextChunk.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EncodedTextChunk.Builder,,EncodedTextChunk> SdkBuilder<EncodedTextChunk.Builder,,EncodedTextChunk> SdkPojo
- Enclosing class:
EncodedTextChunk
@Mutable
@NotThreadSafe
public static interface EncodedTextChunk.Builder
extends SdkPojo, CopyableBuilder<EncodedTextChunk.Builder,EncodedTextChunk>
-
Method Summary
Modifier and TypeMethodDescriptionThe token IDs representing the encoded text.tokens(Collection<Integer> tokens) The token IDs representing the encoded text.The type of the chunk encoding.type(EncodedTextChunkType type) The type of the chunk encoding.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
tokens
The token IDs representing the encoded text.
- Parameters:
tokens- The token IDs representing the encoded text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tokens
The token IDs representing the encoded text.
- Parameters:
tokens- The token IDs representing the encoded text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the chunk encoding.
- Parameters:
type- The type of the chunk encoding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the chunk encoding.
- Parameters:
type- The type of the chunk encoding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-