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