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, or RI units that you have used.
|
CalculatedSpend.Builder |
actualSpend(Spend actualSpend)
The amount of cost, usage, or RI units that you have used.
|
default CalculatedSpend.Builder |
forecastedSpend(Consumer<Spend.Builder> forecastedSpend)
The amount of cost, usage, or RI units that you are forecasted to use.
|
CalculatedSpend.Builder |
forecastedSpend(Spend forecastedSpend)
The amount of cost, usage, or RI units that you are forecasted to use.
|
copyapplyMutation, buildCalculatedSpend.Builder actualSpend(Spend actualSpend)
The amount of cost, usage, or RI units that you have used.
actualSpend - The amount of cost, usage, or RI units that you have used.default CalculatedSpend.Builder actualSpend(Consumer<Spend.Builder> actualSpend)
The amount of cost, usage, or RI units that you have used.
This is a convenience 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, or RI units that you are forecasted to use.
forecastedSpend - The amount of cost, usage, or RI units that you are forecasted to use.default CalculatedSpend.Builder forecastedSpend(Consumer<Spend.Builder> forecastedSpend)
The amount of cost, usage, or RI units that you are forecasted to use.
This is a convenience 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.