Interface CalculatedSpend.Builder

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

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

    • actualSpend

      CalculatedSpend.Builder actualSpend(Spend actualSpend)

      The amount of cost, usage, RI units, or Savings Plans units that you used.

      Parameters:
      actualSpend - The amount of cost, usage, RI units, or Savings Plans units that you used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actualSpend

      default CalculatedSpend.Builder actualSpend(Consumer<Spend.Builder> actualSpend)

      The amount of cost, usage, RI units, or Savings Plans units that you used.

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

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

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

      CalculatedSpend.Builder forecastedSpend(Spend forecastedSpend)

      The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.

      Parameters:
      forecastedSpend - The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • forecastedSpend

      default CalculatedSpend.Builder forecastedSpend(Consumer<Spend.Builder> forecastedSpend)

      The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.

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

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

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