Package com.sap.ai.sdk.orchestration.model

# Interface TokenUsage.Builder2

Enclosing class:
  `TokenUsage`

public static interface TokenUsage.Builder2
Builder helper class.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TokenUsage`
  `totalTokens(Integer totalTokens)`
  Set the totalTokens of this `TokenUsage` instance.

- ## Method Details

  - ### totalTokens

    TokenUsage totalTokens(@Nonnull Integer totalTokens)
    Set the totalTokens of this `TokenUsage` instance.
    Parameters:
      `totalTokens` - Total number of tokens used in the request (prompt + completion).
    Returns:
      The TokenUsage instance.