public static interface CalculatedSpend.Builder extends SdkPojo, CopyableBuilder<CalculatedSpend.Builder,CalculatedSpend>
| Modifier and Type | Method and Description |
|---|---|
default CalculatedSpend.Builder |
actualSpend(Consumer<Spend.Builder> actualSpend)
The amount of cost, usage, RI units, or Savings Plans units that you used.
|
CalculatedSpend.Builder |
actualSpend(Spend actualSpend)
The amount of cost, usage, RI units, or Savings Plans units that you used.
|
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.
|
CalculatedSpend.Builder |
forecastedSpend(Spend forecastedSpend)
The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCalculatedSpend.Builder actualSpend(Spend actualSpend)
The amount of cost, usage, RI units, or Savings Plans units that you used.
actualSpend - The amount of cost, usage, RI units, or Savings Plans units that you used.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 theSpend.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).
actualSpend - a consumer that will call methods on Spend.BuilderactualSpend(Spend)CalculatedSpend.Builder forecastedSpend(Spend forecastedSpend)
The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.
forecastedSpend - The amount of cost, usage, RI units, or Savings Plans units that you're forecasted to use.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 theSpend.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).
forecastedSpend - a consumer that will call methods on Spend.BuilderforecastedSpend(Spend)Copyright © 2023. All rights reserved.