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
Modifier and TypeMethodDescriptiondefault BudgetedAndActualAmounts.BuilderactualAmount(Consumer<Spend.Builder> actualAmount) Your actual costs or usage for a budget period.actualAmount(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.budgetedAmount(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.timePeriod(TimePeriod timePeriod) The time period that's covered by this budget comparison.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-
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
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:
-
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
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:
-