Class CfnTemplate.TimeBasedForecastPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.TimeBasedForecastPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.TimeBasedForecastPropertiesProperty>
- Enclosing interface:
- CfnTemplate.TimeBasedForecastPropertiesProperty
@Stability(Stable)
public static final class CfnTemplate.TimeBasedForecastPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.TimeBasedForecastPropertiesProperty>
A builder for
CfnTemplate.TimeBasedForecastPropertiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.lowerBoundary
(Number lowerBoundary) Sets the value ofCfnTemplate.TimeBasedForecastPropertiesProperty.getLowerBoundary()
periodsBackward
(Number periodsBackward) Sets the value ofCfnTemplate.TimeBasedForecastPropertiesProperty.getPeriodsBackward()
periodsForward
(Number periodsForward) Sets the value ofCfnTemplate.TimeBasedForecastPropertiesProperty.getPeriodsForward()
predictionInterval
(Number predictionInterval) Sets the value ofCfnTemplate.TimeBasedForecastPropertiesProperty.getPredictionInterval()
seasonality
(Number seasonality) Sets the value ofCfnTemplate.TimeBasedForecastPropertiesProperty.getSeasonality()
upperBoundary
(Number upperBoundary) Sets the value ofCfnTemplate.TimeBasedForecastPropertiesProperty.getUpperBoundary()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lowerBoundary
@Stability(Stable) public CfnTemplate.TimeBasedForecastPropertiesProperty.Builder lowerBoundary(Number lowerBoundary) Sets the value ofCfnTemplate.TimeBasedForecastPropertiesProperty.getLowerBoundary()
- Parameters:
lowerBoundary
- The lower boundary setup of a forecast computation.- Returns:
this
-
periodsBackward
@Stability(Stable) public CfnTemplate.TimeBasedForecastPropertiesProperty.Builder periodsBackward(Number periodsBackward) Sets the value ofCfnTemplate.TimeBasedForecastPropertiesProperty.getPeriodsBackward()
- Parameters:
periodsBackward
- The periods backward setup of a forecast computation.- Returns:
this
-
periodsForward
@Stability(Stable) public CfnTemplate.TimeBasedForecastPropertiesProperty.Builder periodsForward(Number periodsForward) Sets the value ofCfnTemplate.TimeBasedForecastPropertiesProperty.getPeriodsForward()
- Parameters:
periodsForward
- The periods forward setup of a forecast computation.- Returns:
this
-
predictionInterval
@Stability(Stable) public CfnTemplate.TimeBasedForecastPropertiesProperty.Builder predictionInterval(Number predictionInterval) Sets the value ofCfnTemplate.TimeBasedForecastPropertiesProperty.getPredictionInterval()
- Parameters:
predictionInterval
- The prediction interval setup of a forecast computation.- Returns:
this
-
seasonality
@Stability(Stable) public CfnTemplate.TimeBasedForecastPropertiesProperty.Builder seasonality(Number seasonality) Sets the value ofCfnTemplate.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 CfnTemplate.TimeBasedForecastPropertiesProperty.Builder upperBoundary(Number upperBoundary) Sets the value ofCfnTemplate.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<CfnTemplate.TimeBasedForecastPropertiesProperty>
- Returns:
- a new instance of
CfnTemplate.TimeBasedForecastPropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-