Interface Usage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Usage.Builder,
,Usage> SdkBuilder<Usage.Builder,
,Usage> SdkPojo
- Enclosing class:
Usage
@Mutable
@NotThreadSafe
public static interface Usage.Builder
extends SdkPojo, CopyableBuilder<Usage.Builder,Usage>
-
Method Summary
Modifier and TypeMethodDescriptioninputTokens
(Integer inputTokens) Contains information about the input tokens from the foundation model usage.outputTokens
(Integer outputTokens) Contains information about the output tokens from the foundation model usage.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 Details
-
inputTokens
Contains information about the input tokens from the foundation model usage.
- Parameters:
inputTokens
- Contains information about the input tokens from the foundation model usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputTokens
Contains information about the output tokens from the foundation model usage.
- Parameters:
outputTokens
- Contains information about the output tokens from the foundation model usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-