Interface UsageAllocation.Builder

  • Method Details

    • allocatedUsageQuantity

      UsageAllocation.Builder allocatedUsageQuantity(Integer allocatedUsageQuantity)

      The total quantity allocated to this bucket of usage.

      Parameters:
      allocatedUsageQuantity - The total quantity allocated to this bucket of usage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.

      Parameters:
      tags - The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.

      Parameters:
      tags - The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

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