Interface InvokeModelTokensRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InvokeModelTokensRequest.Builder,InvokeModelTokensRequest>,SdkBuilder<InvokeModelTokensRequest.Builder,InvokeModelTokensRequest>,SdkPojo
- Enclosing class:
- InvokeModelTokensRequest
@Mutable @NotThreadSafe public static interface InvokeModelTokensRequest.Builder extends SdkPojo, CopyableBuilder<InvokeModelTokensRequest.Builder,InvokeModelTokensRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InvokeModelTokensRequest.Builderbody(SdkBytes body)The request body to count tokens for, formatted according to the model's expected input format.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
body
InvokeModelTokensRequest.Builder body(SdkBytes body)
The request body to count tokens for, formatted according to the model's expected input format. To learn about the input format for different models, see Model inference parameters and responses.
- Parameters:
body- The request body to count tokens for, formatted according to the model's expected input format. To learn about the input format for different models, see Model inference parameters and responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-