Class CfnBudgetPropsMixin.AutoAdjustDataProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.budgets.CfnBudgetPropsMixin.AutoAdjustDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudgetPropsMixin.AutoAdjustDataProperty>
- Enclosing interface:
CfnBudgetPropsMixin.AutoAdjustDataProperty
@Stability(Stable)
public static final class CfnBudgetPropsMixin.AutoAdjustDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudgetPropsMixin.AutoAdjustDataProperty>
A builder for
CfnBudgetPropsMixin.AutoAdjustDataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoAdjustType(String autoAdjustType) Sets the value ofCfnBudgetPropsMixin.AutoAdjustDataProperty.getAutoAdjustType()build()Builds the configured instance.historicalOptions(CfnBudgetPropsMixin.HistoricalOptionsProperty historicalOptions) Sets the value ofCfnBudgetPropsMixin.AutoAdjustDataProperty.getHistoricalOptions()historicalOptions(IResolvable historicalOptions) Sets the value ofCfnBudgetPropsMixin.AutoAdjustDataProperty.getHistoricalOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoAdjustType
@Stability(Stable) public CfnBudgetPropsMixin.AutoAdjustDataProperty.Builder autoAdjustType(String autoAdjustType) Sets the value ofCfnBudgetPropsMixin.AutoAdjustDataProperty.getAutoAdjustType()- Parameters:
autoAdjustType- The string that defines whether your budget auto-adjusts based on historical or forecasted data.- Returns:
this
-
historicalOptions
@Stability(Stable) public CfnBudgetPropsMixin.AutoAdjustDataProperty.Builder historicalOptions(IResolvable historicalOptions) Sets the value ofCfnBudgetPropsMixin.AutoAdjustDataProperty.getHistoricalOptions()- Parameters:
historicalOptions- The parameters that define or describe the historical data that your auto-adjusting budget is based on.- Returns:
this
-
historicalOptions
@Stability(Stable) public CfnBudgetPropsMixin.AutoAdjustDataProperty.Builder historicalOptions(CfnBudgetPropsMixin.HistoricalOptionsProperty historicalOptions) Sets the value ofCfnBudgetPropsMixin.AutoAdjustDataProperty.getHistoricalOptions()- Parameters:
historicalOptions- The parameters that define or describe the historical data that your auto-adjusting budget is based on.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBudgetPropsMixin.AutoAdjustDataProperty>- Returns:
- a new instance of
CfnBudgetPropsMixin.AutoAdjustDataProperty - Throws:
NullPointerException- if any required attribute was not provided
-