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