Class CfnDashboard.ForecastComputationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.ForecastComputationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.ForecastComputationProperty>
- Enclosing interface:
CfnDashboard.ForecastComputationProperty
@Stability(Stable)
public static final class CfnDashboard.ForecastComputationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.ForecastComputationProperty>
A builder for
CfnDashboard.ForecastComputationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computationId(String computationId) Sets the value ofCfnDashboard.ForecastComputationProperty.getComputationId()customSeasonalityValue(Number customSeasonalityValue) Sets the value ofCfnDashboard.ForecastComputationProperty.getCustomSeasonalityValue()lowerBoundary(Number lowerBoundary) Sets the value ofCfnDashboard.ForecastComputationProperty.getLowerBoundary()Sets the value ofCfnDashboard.ForecastComputationProperty.getName()periodsBackward(Number periodsBackward) Sets the value ofCfnDashboard.ForecastComputationProperty.getPeriodsBackward()periodsForward(Number periodsForward) Sets the value ofCfnDashboard.ForecastComputationProperty.getPeriodsForward()predictionInterval(Number predictionInterval) Sets the value ofCfnDashboard.ForecastComputationProperty.getPredictionInterval()seasonality(String seasonality) Sets the value ofCfnDashboard.ForecastComputationProperty.getSeasonality()time(IResolvable time) Sets the value ofCfnDashboard.ForecastComputationProperty.getTime()Sets the value ofCfnDashboard.ForecastComputationProperty.getTime()upperBoundary(Number upperBoundary) Sets the value ofCfnDashboard.ForecastComputationProperty.getUpperBoundary()value(IResolvable value) Sets the value ofCfnDashboard.ForecastComputationProperty.getValue()Sets the value ofCfnDashboard.ForecastComputationProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computationId
@Stability(Stable) public CfnDashboard.ForecastComputationProperty.Builder computationId(String computationId) Sets the value ofCfnDashboard.ForecastComputationProperty.getComputationId()- Parameters:
computationId- The ID for a computation. This parameter is required.- Returns:
this
-
customSeasonalityValue
@Stability(Stable) public CfnDashboard.ForecastComputationProperty.Builder customSeasonalityValue(Number customSeasonalityValue) Sets the value ofCfnDashboard.ForecastComputationProperty.getCustomSeasonalityValue()- Parameters:
customSeasonalityValue- The custom seasonality value setup of a forecast computation.- Returns:
this
-
lowerBoundary
@Stability(Stable) public CfnDashboard.ForecastComputationProperty.Builder lowerBoundary(Number lowerBoundary) Sets the value ofCfnDashboard.ForecastComputationProperty.getLowerBoundary()- Parameters:
lowerBoundary- The lower boundary setup of a forecast computation.- Returns:
this
-
name
Sets the value ofCfnDashboard.ForecastComputationProperty.getName()- Parameters:
name- The name of a computation.- Returns:
this
-
periodsBackward
@Stability(Stable) public CfnDashboard.ForecastComputationProperty.Builder periodsBackward(Number periodsBackward) Sets the value ofCfnDashboard.ForecastComputationProperty.getPeriodsBackward()- Parameters:
periodsBackward- The periods backward setup of a forecast computation.- Returns:
this
-
periodsForward
@Stability(Stable) public CfnDashboard.ForecastComputationProperty.Builder periodsForward(Number periodsForward) Sets the value ofCfnDashboard.ForecastComputationProperty.getPeriodsForward()- Parameters:
periodsForward- The periods forward setup of a forecast computation.- Returns:
this
-
predictionInterval
@Stability(Stable) public CfnDashboard.ForecastComputationProperty.Builder predictionInterval(Number predictionInterval) Sets the value ofCfnDashboard.ForecastComputationProperty.getPredictionInterval()- Parameters:
predictionInterval- The prediction interval setup of a forecast computation.- Returns:
this
-
seasonality
@Stability(Stable) public CfnDashboard.ForecastComputationProperty.Builder seasonality(String seasonality) Sets the value ofCfnDashboard.ForecastComputationProperty.getSeasonality()- Parameters:
seasonality- The seasonality setup of a forecast computation. Choose one of the following options:.AUTOMATICCUSTOM: Checks the custom seasonality value.
- Returns:
this
-
time
Sets the value ofCfnDashboard.ForecastComputationProperty.getTime()- Parameters:
time- The time field that is used in a computation.- Returns:
this
-
time
@Stability(Stable) public CfnDashboard.ForecastComputationProperty.Builder time(CfnDashboard.DimensionFieldProperty time) Sets the value ofCfnDashboard.ForecastComputationProperty.getTime()- Parameters:
time- The time field that is used in a computation.- Returns:
this
-
upperBoundary
@Stability(Stable) public CfnDashboard.ForecastComputationProperty.Builder upperBoundary(Number upperBoundary) Sets the value ofCfnDashboard.ForecastComputationProperty.getUpperBoundary()- Parameters:
upperBoundary- The upper boundary setup of a forecast computation.- Returns:
this
-
value
Sets the value ofCfnDashboard.ForecastComputationProperty.getValue()- Parameters:
value- The value field that is used in a computation.- Returns:
this
-
value
@Stability(Stable) public CfnDashboard.ForecastComputationProperty.Builder value(CfnDashboard.MeasureFieldProperty value) Sets the value ofCfnDashboard.ForecastComputationProperty.getValue()- Parameters:
value- The value field that is used in a computation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.ForecastComputationProperty>- Returns:
- a new instance of
CfnDashboard.ForecastComputationProperty - Throws:
NullPointerException- if any required attribute was not provided
-