Class CfnTemplate.ForecastScenarioProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.ForecastScenarioProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.ForecastScenarioProperty>
- Enclosing interface:
CfnTemplate.ForecastScenarioProperty
@Stability(Stable)
public static final class CfnTemplate.ForecastScenarioProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.ForecastScenarioProperty>
A builder for
CfnTemplate.ForecastScenarioProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.whatIfPointScenario(IResolvable whatIfPointScenario) Sets the value ofCfnTemplate.ForecastScenarioProperty.getWhatIfPointScenario()whatIfPointScenario(CfnTemplate.WhatIfPointScenarioProperty whatIfPointScenario) Sets the value ofCfnTemplate.ForecastScenarioProperty.getWhatIfPointScenario()whatIfRangeScenario(IResolvable whatIfRangeScenario) Sets the value ofCfnTemplate.ForecastScenarioProperty.getWhatIfRangeScenario()whatIfRangeScenario(CfnTemplate.WhatIfRangeScenarioProperty whatIfRangeScenario) Sets the value ofCfnTemplate.ForecastScenarioProperty.getWhatIfRangeScenario()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
whatIfPointScenario
@Stability(Stable) public CfnTemplate.ForecastScenarioProperty.Builder whatIfPointScenario(IResolvable whatIfPointScenario) Sets the value ofCfnTemplate.ForecastScenarioProperty.getWhatIfPointScenario()- Parameters:
whatIfPointScenario- The what-if analysis forecast setup with the target date.- Returns:
this
-
whatIfPointScenario
@Stability(Stable) public CfnTemplate.ForecastScenarioProperty.Builder whatIfPointScenario(CfnTemplate.WhatIfPointScenarioProperty whatIfPointScenario) Sets the value ofCfnTemplate.ForecastScenarioProperty.getWhatIfPointScenario()- Parameters:
whatIfPointScenario- The what-if analysis forecast setup with the target date.- Returns:
this
-
whatIfRangeScenario
@Stability(Stable) public CfnTemplate.ForecastScenarioProperty.Builder whatIfRangeScenario(IResolvable whatIfRangeScenario) Sets the value ofCfnTemplate.ForecastScenarioProperty.getWhatIfRangeScenario()- Parameters:
whatIfRangeScenario- The what-if analysis forecast setup with the date range.- Returns:
this
-
whatIfRangeScenario
@Stability(Stable) public CfnTemplate.ForecastScenarioProperty.Builder whatIfRangeScenario(CfnTemplate.WhatIfRangeScenarioProperty whatIfRangeScenario) Sets the value ofCfnTemplate.ForecastScenarioProperty.getWhatIfRangeScenario()- Parameters:
whatIfRangeScenario- The what-if analysis forecast setup with the date range.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.ForecastScenarioProperty>- Returns:
- a new instance of
CfnTemplate.ForecastScenarioProperty - Throws:
NullPointerException- if any required attribute was not provided
-