Interface RecommendedQuota.Builder

  • Method Details

    • actionName

      RecommendedQuota.Builder actionName(String actionName)
      Sets the value of the ActionName property for this object.
      Parameters:
      actionName - The new value for the ActionName property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includedQuantity

      RecommendedQuota.Builder includedQuantity(Long includedQuantity)

      The number of units included.

      Parameters:
      includedQuantity - The number of units included.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overagePolicy

      RecommendedQuota.Builder overagePolicy(String overagePolicy)

      What happens to usage past the included units.

      Parameters:
      overagePolicy - What happens to usage past the included units.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overagePolicy

      RecommendedQuota.Builder overagePolicy(OveragePolicy overagePolicy)

      What happens to usage past the included units.

      Parameters:
      overagePolicy - What happens to usage past the included units.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overagePrice

      RecommendedQuota.Builder overagePrice(Price overagePrice)

      Price per unit past the included quantity. With APPLY_FIXED_OVERAGE only. Overage is not capped.

      Parameters:
      overagePrice - Price per unit past the included quantity. With APPLY_FIXED_OVERAGE only. Overage is not capped.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overagePrice

      default RecommendedQuota.Builder overagePrice(Consumer<Price.Builder> overagePrice)

      Price per unit past the included quantity. With APPLY_FIXED_OVERAGE only. Overage is not capped.

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

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

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