Class CfnBudget.HistoricalOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.budgets.CfnBudget.HistoricalOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudget.HistoricalOptionsProperty>
- Enclosing interface:
CfnBudget.HistoricalOptionsProperty
@Stability(Stable)
public static final class CfnBudget.HistoricalOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudget.HistoricalOptionsProperty>
A builder for
CfnBudget.HistoricalOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbudgetAdjustmentPeriod(Number budgetAdjustmentPeriod) Sets the value ofCfnBudget.HistoricalOptionsProperty.getBudgetAdjustmentPeriod()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
budgetAdjustmentPeriod
@Stability(Stable) public CfnBudget.HistoricalOptionsProperty.Builder budgetAdjustmentPeriod(Number budgetAdjustmentPeriod) Sets the value ofCfnBudget.HistoricalOptionsProperty.getBudgetAdjustmentPeriod()- Parameters:
budgetAdjustmentPeriod- The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. This parameter is required. The maximum value depends on theTimeUnitgranularity of the budget:- For the
DAILYgranularity, the maximum value is60. - For the
MONTHLYgranularity, the maximum value is12. - For the
QUARTERLYgranularity, the maximum value is4. - For the
ANNUALLYgranularity, the maximum value is1.
- For the
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBudget.HistoricalOptionsProperty>- Returns:
- a new instance of
CfnBudget.HistoricalOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-