public static interface CalculatedSpend.Builder extends CopyableBuilder<CalculatedSpend.Builder,CalculatedSpend>
Modifier and Type | Method and Description |
---|---|
default CalculatedSpend.Builder |
actualSpend(Consumer<Spend.Builder> actualSpend)
Sets the value of the ActualSpend property for this object.
|
CalculatedSpend.Builder |
actualSpend(Spend actualSpend)
Sets the value of the ActualSpend property for this object.
|
default CalculatedSpend.Builder |
forecastedSpend(Consumer<Spend.Builder> forecastedSpend)
Sets the value of the ForecastedSpend property for this object.
|
CalculatedSpend.Builder |
forecastedSpend(Spend forecastedSpend)
Sets the value of the ForecastedSpend property for this object.
|
copy
applyMutation, build
CalculatedSpend.Builder actualSpend(Spend actualSpend)
actualSpend
- The new value for the ActualSpend property for this object.default CalculatedSpend.Builder actualSpend(Consumer<Spend.Builder> actualSpend)
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)
.actualSpend
- a consumer that will call methods on Spend.Builder
actualSpend(Spend)
CalculatedSpend.Builder forecastedSpend(Spend forecastedSpend)
forecastedSpend
- The new value for the ForecastedSpend property for this object.default CalculatedSpend.Builder forecastedSpend(Consumer<Spend.Builder> forecastedSpend)
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)
.forecastedSpend
- a consumer that will call methods on Spend.Builder
forecastedSpend(Spend)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.