Interface UsageTopAccountResult.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UsageTopAccountResult.Builder,UsageTopAccountResult>, SdkBuilder<UsageTopAccountResult.Builder,UsageTopAccountResult>, SdkPojo
Enclosing class:
UsageTopAccountResult

public static interface UsageTopAccountResult.Builder extends SdkPojo, CopyableBuilder<UsageTopAccountResult.Builder,UsageTopAccountResult>
  • Method Details

    • accountId

      UsageTopAccountResult.Builder accountId(String accountId)

      The unique account ID.

      Parameters:
      accountId - The unique account ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • total

      Sets the value of the Total property for this object.
      Parameters:
      total - The new value for the Total property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • total

      Sets the value of the Total property for this object. This is a convenience method that creates an instance of the Total.Builder avoiding the need to create one manually via Total.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to total(Total).

      Parameters:
      total - a consumer that will call methods on Total.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: