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