public static interface Budget.Builder extends CopyableBuilder<Budget.Builder,Budget>
| Modifier and Type | Method and Description |
|---|---|
default Budget.Builder |
budgetLimit(Consumer<Spend.Builder> budgetLimit)
Sets the value of the BudgetLimit property for this object.
|
Budget.Builder |
budgetLimit(Spend budgetLimit)
Sets the value of the BudgetLimit property for this object.
|
Budget.Builder |
budgetName(String budgetName)
Sets the value of the BudgetName property for this object.
|
Budget.Builder |
budgetType(BudgetType budgetType)
Sets the value of the BudgetType property for this object.
|
Budget.Builder |
budgetType(String budgetType)
Sets the value of the BudgetType property for this object.
|
Budget.Builder |
calculatedSpend(CalculatedSpend calculatedSpend)
Sets the value of the CalculatedSpend property for this object.
|
default Budget.Builder |
calculatedSpend(Consumer<CalculatedSpend.Builder> calculatedSpend)
Sets the value of the CalculatedSpend property for this object.
|
Budget.Builder |
costFilters(Map<String,? extends Collection<String>> costFilters)
Sets the value of the CostFilters property for this object.
|
default Budget.Builder |
costTypes(Consumer<CostTypes.Builder> costTypes)
Sets the value of the CostTypes property for this object.
|
Budget.Builder |
costTypes(CostTypes costTypes)
Sets the value of the CostTypes property for this object.
|
default Budget.Builder |
timePeriod(Consumer<TimePeriod.Builder> timePeriod)
Sets the value of the TimePeriod property for this object.
|
Budget.Builder |
timePeriod(TimePeriod timePeriod)
Sets the value of the TimePeriod property for this object.
|
Budget.Builder |
timeUnit(String timeUnit)
Sets the value of the TimeUnit property for this object.
|
Budget.Builder |
timeUnit(TimeUnit timeUnit)
Sets the value of the TimeUnit property for this object.
|
copyapply, buildBudget.Builder budgetName(String budgetName)
budgetName - The new value for the BudgetName property for this object.Budget.Builder budgetLimit(Spend budgetLimit)
budgetLimit - The new value for the BudgetLimit property for this object.default Budget.Builder budgetLimit(Consumer<Spend.Builder> budgetLimit)
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 budgetLimit(Spend).budgetLimit - a consumer that will call methods on Spend.BuilderbudgetLimit(Spend)Budget.Builder costFilters(Map<String,? extends Collection<String>> costFilters)
costFilters - The new value for the CostFilters property for this object.Budget.Builder costTypes(CostTypes costTypes)
costTypes - The new value for the CostTypes property for this object.default Budget.Builder costTypes(Consumer<CostTypes.Builder> costTypes)
CostTypes.Builder avoiding the need to create
one manually via CostTypes.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to costTypes(CostTypes).costTypes - a consumer that will call methods on CostTypes.BuildercostTypes(CostTypes)Budget.Builder timeUnit(String timeUnit)
Budget.Builder timeUnit(TimeUnit timeUnit)
Budget.Builder timePeriod(TimePeriod timePeriod)
timePeriod - The new value for the TimePeriod property for this object.default Budget.Builder timePeriod(Consumer<TimePeriod.Builder> timePeriod)
TimePeriod.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.BuildertimePeriod(TimePeriod)Budget.Builder calculatedSpend(CalculatedSpend calculatedSpend)
calculatedSpend - The new value for the CalculatedSpend property for this object.default Budget.Builder calculatedSpend(Consumer<CalculatedSpend.Builder> calculatedSpend)
CalculatedSpend.Builder avoiding the need to
create one manually via CalculatedSpend.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to calculatedSpend(CalculatedSpend).calculatedSpend - a consumer that will call methods on CalculatedSpend.BuildercalculatedSpend(CalculatedSpend)Budget.Builder budgetType(String budgetType)
budgetType - The new value for the BudgetType property for this object.BudgetType,
BudgetTypeBudget.Builder budgetType(BudgetType budgetType)
budgetType - The new value for the BudgetType property for this object.BudgetType,
BudgetTypeCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.