Interface BillableTokenUsage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BillableTokenUsage.Builder,,BillableTokenUsage> SdkBuilder<BillableTokenUsage.Builder,,BillableTokenUsage> SdkPojo
- Enclosing class:
BillableTokenUsage
@Mutable
@NotThreadSafe
public static interface BillableTokenUsage.Builder
extends SdkPojo, CopyableBuilder<BillableTokenUsage.Builder,BillableTokenUsage>
-
Method Summary
Modifier and TypeMethodDescriptionprefillTokenCount(Long prefillTokenCount) The number of prefill tokens consumed.sampleTokenCount(Long sampleTokenCount) The number of sample tokens consumed.trainingTokenCount(Long trainingTokenCount) The number of training tokens consumed.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
-
prefillTokenCount
The number of prefill tokens consumed.
- Parameters:
prefillTokenCount- The number of prefill tokens consumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleTokenCount
The number of sample tokens consumed.
- Parameters:
sampleTokenCount- The number of sample tokens consumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingTokenCount
The number of training tokens consumed.
- Parameters:
trainingTokenCount- The number of training tokens consumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-