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