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