Interface TokenLogprob.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TokenLogprob.Builder,,TokenLogprob> SdkBuilder<TokenLogprob.Builder,,TokenLogprob> SdkPojo
- Enclosing class:
TokenLogprob
@Mutable
@NotThreadSafe
public static interface TokenLogprob.Builder
extends SdkPojo, CopyableBuilder<TokenLogprob.Builder,TokenLogprob>
-
Method Summary
Modifier and TypeMethodDescriptionThe log-probability of the token.The vocabulary token ID.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
-
tokenId
The vocabulary token ID.
- Parameters:
tokenId- The vocabulary token ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logprob
The log-probability of the token.
- Parameters:
logprob- The log-probability of the token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-