Class CfnAnalysis.TimeBasedForecastPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.TimeBasedForecastPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.TimeBasedForecastPropertiesProperty>
- Enclosing interface:
CfnAnalysis.TimeBasedForecastPropertiesProperty
@Stability(Stable)
public static final class CfnAnalysis.TimeBasedForecastPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.TimeBasedForecastPropertiesProperty>
A builder for
CfnAnalysis.TimeBasedForecastPropertiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.lowerBoundary
(Number lowerBoundary) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getLowerBoundary()
periodsBackward
(Number periodsBackward) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getPeriodsBackward()
periodsForward
(Number periodsForward) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getPeriodsForward()
predictionInterval
(Number predictionInterval) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getPredictionInterval()
seasonality
(Number seasonality) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getSeasonality()
upperBoundary
(Number upperBoundary) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getUpperBoundary()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lowerBoundary
@Stability(Stable) public CfnAnalysis.TimeBasedForecastPropertiesProperty.Builder lowerBoundary(Number lowerBoundary) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getLowerBoundary()
- Parameters:
lowerBoundary
- The lower boundary setup of a forecast computation.- Returns:
this
-
periodsBackward
@Stability(Stable) public CfnAnalysis.TimeBasedForecastPropertiesProperty.Builder periodsBackward(Number periodsBackward) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getPeriodsBackward()
- Parameters:
periodsBackward
- The periods backward setup of a forecast computation.- Returns:
this
-
periodsForward
@Stability(Stable) public CfnAnalysis.TimeBasedForecastPropertiesProperty.Builder periodsForward(Number periodsForward) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getPeriodsForward()
- Parameters:
periodsForward
- The periods forward setup of a forecast computation.- Returns:
this
-
predictionInterval
@Stability(Stable) public CfnAnalysis.TimeBasedForecastPropertiesProperty.Builder predictionInterval(Number predictionInterval) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getPredictionInterval()
- Parameters:
predictionInterval
- The prediction interval setup of a forecast computation.- Returns:
this
-
seasonality
@Stability(Stable) public CfnAnalysis.TimeBasedForecastPropertiesProperty.Builder seasonality(Number seasonality) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getSeasonality()
- Parameters:
seasonality
- The seasonality setup of a forecast computation. Choose one of the following options:.NULL
: The input is set toNULL
.NON_NULL
: The input is set to a custom value.
- Returns:
this
-
upperBoundary
@Stability(Stable) public CfnAnalysis.TimeBasedForecastPropertiesProperty.Builder upperBoundary(Number upperBoundary) Sets the value ofCfnAnalysis.TimeBasedForecastPropertiesProperty.getUpperBoundary()
- Parameters:
upperBoundary
- The upper boundary setup of a forecast computation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.TimeBasedForecastPropertiesProperty>
- Returns:
- a new instance of
CfnAnalysis.TimeBasedForecastPropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-