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