Class CfnBudgetPropsMixin.HistoricalOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.budgets.CfnBudgetPropsMixin.HistoricalOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudgetPropsMixin.HistoricalOptionsProperty>
- Enclosing interface:
CfnBudgetPropsMixin.HistoricalOptionsProperty
@Stability(Stable)
public static final class CfnBudgetPropsMixin.HistoricalOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudgetPropsMixin.HistoricalOptionsProperty>
A builder for
CfnBudgetPropsMixin.HistoricalOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbudgetAdjustmentPeriod(Number budgetAdjustmentPeriod) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
budgetAdjustmentPeriod
@Stability(Stable) public CfnBudgetPropsMixin.HistoricalOptionsProperty.Builder budgetAdjustmentPeriod(Number budgetAdjustmentPeriod) - Parameters:
budgetAdjustmentPeriod- The number of budget periods included in the moving-average calculation that determines your auto-adjusted budget amount. 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<CfnBudgetPropsMixin.HistoricalOptionsProperty>- Returns:
- a new instance of
CfnBudgetPropsMixin.HistoricalOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-