Interface UsageFeatureResult.Builder

  • Method Details

    • feature

      The feature that generated the usage cost.

      Parameters:
      feature - The feature that generated the usage cost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • feature

      The feature that generated the usage cost.

      Parameters:
      feature - The feature that generated the usage cost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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: