Interface BudgetedAndActualAmounts.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BudgetedAndActualAmounts.Builder,BudgetedAndActualAmounts>,SdkBuilder<BudgetedAndActualAmounts.Builder,BudgetedAndActualAmounts>,SdkPojo
- Enclosing class:
- BudgetedAndActualAmounts
public static interface BudgetedAndActualAmounts.Builder extends SdkPojo, CopyableBuilder<BudgetedAndActualAmounts.Builder,BudgetedAndActualAmounts>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BudgetedAndActualAmounts.BuilderactualAmount(Consumer<Spend.Builder> actualAmount)Your actual costs or usage for a budget period.BudgetedAndActualAmounts.BuilderactualAmount(Spend actualAmount)Your actual costs or usage for a budget period.default BudgetedAndActualAmounts.BuilderbudgetedAmount(Consumer<Spend.Builder> budgetedAmount)The amount of cost or usage that you created the budget for.BudgetedAndActualAmounts.BuilderbudgetedAmount(Spend budgetedAmount)The amount of cost or usage that you created the budget for.default BudgetedAndActualAmounts.BuildertimePeriod(Consumer<TimePeriod.Builder> timePeriod)The time period that's covered by this budget comparison.BudgetedAndActualAmounts.BuildertimePeriod(TimePeriod timePeriod)The time period that's covered by this budget comparison.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
budgetedAmount
BudgetedAndActualAmounts.Builder budgetedAmount(Spend budgetedAmount)
The amount of cost or usage that you created the budget for.
- Parameters:
budgetedAmount- The amount of cost or usage that you created the budget for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetedAmount
default BudgetedAndActualAmounts.Builder budgetedAmount(Consumer<Spend.Builder> budgetedAmount)
The amount of cost or usage that you created the budget for.
This is a convenience method that creates an instance of theSpend.Builderavoiding the need to create one manually viaSpend.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobudgetedAmount(Spend).- Parameters:
budgetedAmount- a consumer that will call methods onSpend.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
budgetedAmount(Spend)
-
actualAmount
BudgetedAndActualAmounts.Builder actualAmount(Spend actualAmount)
Your actual costs or usage for a budget period.
- Parameters:
actualAmount- Your actual costs or usage for a budget period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actualAmount
default BudgetedAndActualAmounts.Builder actualAmount(Consumer<Spend.Builder> actualAmount)
Your actual costs or usage for a budget period.
This is a convenience method that creates an instance of theSpend.Builderavoiding the need to create one manually viaSpend.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactualAmount(Spend).- Parameters:
actualAmount- a consumer that will call methods onSpend.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
actualAmount(Spend)
-
timePeriod
BudgetedAndActualAmounts.Builder timePeriod(TimePeriod timePeriod)
The time period that's covered by this budget comparison.
- Parameters:
timePeriod- The time period that's covered by this budget comparison.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
default BudgetedAndActualAmounts.Builder timePeriod(Consumer<TimePeriod.Builder> timePeriod)
The time period that's covered by this budget comparison.
This is a convenience method that creates an instance of theTimePeriod.Builderavoiding the need to create one manually viaTimePeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimePeriod(TimePeriod).- Parameters:
timePeriod- a consumer that will call methods onTimePeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timePeriod(TimePeriod)
-
-