Class CfnDashboard.ForecastConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.ForecastConfigurationProperty>
- Enclosing interface:
CfnDashboard.ForecastConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.ForecastConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.ForecastConfigurationProperty>
A builder for
CfnDashboard.ForecastConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.forecastProperties(IResolvable forecastProperties) Sets the value ofCfnDashboard.ForecastConfigurationProperty.getForecastProperties()forecastProperties(CfnDashboard.TimeBasedForecastPropertiesProperty forecastProperties) Sets the value ofCfnDashboard.ForecastConfigurationProperty.getForecastProperties()scenario(IResolvable scenario) Sets the value ofCfnDashboard.ForecastConfigurationProperty.getScenario()Sets the value ofCfnDashboard.ForecastConfigurationProperty.getScenario()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
forecastProperties
@Stability(Stable) public CfnDashboard.ForecastConfigurationProperty.Builder forecastProperties(IResolvable forecastProperties) Sets the value ofCfnDashboard.ForecastConfigurationProperty.getForecastProperties()- Parameters:
forecastProperties- The forecast properties setup of a forecast in the line chart.- Returns:
this
-
forecastProperties
@Stability(Stable) public CfnDashboard.ForecastConfigurationProperty.Builder forecastProperties(CfnDashboard.TimeBasedForecastPropertiesProperty forecastProperties) Sets the value ofCfnDashboard.ForecastConfigurationProperty.getForecastProperties()- Parameters:
forecastProperties- The forecast properties setup of a forecast in the line chart.- Returns:
this
-
scenario
@Stability(Stable) public CfnDashboard.ForecastConfigurationProperty.Builder scenario(IResolvable scenario) Sets the value ofCfnDashboard.ForecastConfigurationProperty.getScenario()- Parameters:
scenario- The forecast scenario of a forecast in the line chart.- Returns:
this
-
scenario
@Stability(Stable) public CfnDashboard.ForecastConfigurationProperty.Builder scenario(CfnDashboard.ForecastScenarioProperty scenario) Sets the value ofCfnDashboard.ForecastConfigurationProperty.getScenario()- Parameters:
scenario- The forecast scenario of a forecast in the line chart.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.ForecastConfigurationProperty>- Returns:
- a new instance of
CfnDashboard.ForecastConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-