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 Details

    • 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.