public static interface BudgetedAndActualAmounts.Builder extends SdkPojo, CopyableBuilder<BudgetedAndActualAmounts.Builder,BudgetedAndActualAmounts>
Modifier and Type | Method and Description |
---|---|
default BudgetedAndActualAmounts.Builder |
actualAmount(Consumer<Spend.Builder> actualAmount)
Your actual costs or usage for a budget period.
|
BudgetedAndActualAmounts.Builder |
actualAmount(Spend actualAmount)
Your actual costs or usage for a budget period.
|
default BudgetedAndActualAmounts.Builder |
budgetedAmount(Consumer<Spend.Builder> budgetedAmount)
The amount of cost or usage that you created the budget for.
|
BudgetedAndActualAmounts.Builder |
budgetedAmount(Spend budgetedAmount)
The amount of cost or usage that you created the budget for.
|
default BudgetedAndActualAmounts.Builder |
timePeriod(Consumer<TimePeriod.Builder> timePeriod)
The time period covered by this budget comparison.
|
BudgetedAndActualAmounts.Builder |
timePeriod(TimePeriod timePeriod)
The time period covered by this budget comparison.
|
copy
applyMutation, build
BudgetedAndActualAmounts.Builder budgetedAmount(Spend budgetedAmount)
The amount of cost or usage that you created the budget for.
budgetedAmount
- The amount of cost or usage that you created the budget for.default BudgetedAndActualAmounts.Builder budgetedAmount(Consumer<Spend.Builder> budgetedAmount)
The amount of cost or usage that you created the budget for.
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 budgetedAmount(Spend)
.budgetedAmount
- a consumer that will call methods on Spend.Builder
budgetedAmount(Spend)
BudgetedAndActualAmounts.Builder actualAmount(Spend actualAmount)
Your actual costs or usage for a budget period.
actualAmount
- Your actual costs or usage for a budget period.default BudgetedAndActualAmounts.Builder actualAmount(Consumer<Spend.Builder> actualAmount)
Your actual costs or usage for a budget period.
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 actualAmount(Spend)
.actualAmount
- a consumer that will call methods on Spend.Builder
actualAmount(Spend)
BudgetedAndActualAmounts.Builder timePeriod(TimePeriod timePeriod)
The time period covered by this budget comparison.
timePeriod
- The time period covered by this budget comparison.default BudgetedAndActualAmounts.Builder timePeriod(Consumer<TimePeriod.Builder> timePeriod)
The time period covered by this budget comparison.
This is a convenience that creates an instance of theTimePeriod.Builder
avoiding the need to create
one manually via TimePeriod.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to timePeriod(TimePeriod)
.timePeriod
- a consumer that will call methods on TimePeriod.Builder
timePeriod(TimePeriod)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.