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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Usage.BuilderinputTokens(Integer inputTokens)Contains information about the input tokens from the foundation model usage.Usage.BuilderoutputTokens(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 Detail
-
inputTokens
Usage.Builder inputTokens(Integer 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
Usage.Builder outputTokens(Integer 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.
-
-