/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.quicksight.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The forecast properties setup of a forecast in the line chart. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class TimeBasedForecastProperties implements Serializable, Cloneable, StructuredPojo { /** ** The periods forward setup of a forecast computation. *
*/ private Integer periodsForward; /** ** The periods backward setup of a forecast computation. *
*/ private Integer periodsBackward; /** ** The upper boundary setup of a forecast computation. *
*/ private Double upperBoundary; /** ** The lower boundary setup of a forecast computation. *
*/ private Double lowerBoundary; /** ** The prediction interval setup of a forecast computation. *
*/ private Integer predictionInterval; /** ** The seasonality setup of a forecast computation. Choose one of the following options: *
*
* NULL
: The input is set to NULL
.
*
* NON_NULL
: The input is set to a custom value.
*
* The periods forward setup of a forecast computation. *
* * @param periodsForward * The periods forward setup of a forecast computation. */ public void setPeriodsForward(Integer periodsForward) { this.periodsForward = periodsForward; } /** ** The periods forward setup of a forecast computation. *
* * @return The periods forward setup of a forecast computation. */ public Integer getPeriodsForward() { return this.periodsForward; } /** ** The periods forward setup of a forecast computation. *
* * @param periodsForward * The periods forward setup of a forecast computation. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeBasedForecastProperties withPeriodsForward(Integer periodsForward) { setPeriodsForward(periodsForward); return this; } /** ** The periods backward setup of a forecast computation. *
* * @param periodsBackward * The periods backward setup of a forecast computation. */ public void setPeriodsBackward(Integer periodsBackward) { this.periodsBackward = periodsBackward; } /** ** The periods backward setup of a forecast computation. *
* * @return The periods backward setup of a forecast computation. */ public Integer getPeriodsBackward() { return this.periodsBackward; } /** ** The periods backward setup of a forecast computation. *
* * @param periodsBackward * The periods backward setup of a forecast computation. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeBasedForecastProperties withPeriodsBackward(Integer periodsBackward) { setPeriodsBackward(periodsBackward); return this; } /** ** The upper boundary setup of a forecast computation. *
* * @param upperBoundary * The upper boundary setup of a forecast computation. */ public void setUpperBoundary(Double upperBoundary) { this.upperBoundary = upperBoundary; } /** ** The upper boundary setup of a forecast computation. *
* * @return The upper boundary setup of a forecast computation. */ public Double getUpperBoundary() { return this.upperBoundary; } /** ** The upper boundary setup of a forecast computation. *
* * @param upperBoundary * The upper boundary setup of a forecast computation. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeBasedForecastProperties withUpperBoundary(Double upperBoundary) { setUpperBoundary(upperBoundary); return this; } /** ** The lower boundary setup of a forecast computation. *
* * @param lowerBoundary * The lower boundary setup of a forecast computation. */ public void setLowerBoundary(Double lowerBoundary) { this.lowerBoundary = lowerBoundary; } /** ** The lower boundary setup of a forecast computation. *
* * @return The lower boundary setup of a forecast computation. */ public Double getLowerBoundary() { return this.lowerBoundary; } /** ** The lower boundary setup of a forecast computation. *
* * @param lowerBoundary * The lower boundary setup of a forecast computation. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeBasedForecastProperties withLowerBoundary(Double lowerBoundary) { setLowerBoundary(lowerBoundary); return this; } /** ** The prediction interval setup of a forecast computation. *
* * @param predictionInterval * The prediction interval setup of a forecast computation. */ public void setPredictionInterval(Integer predictionInterval) { this.predictionInterval = predictionInterval; } /** ** The prediction interval setup of a forecast computation. *
* * @return The prediction interval setup of a forecast computation. */ public Integer getPredictionInterval() { return this.predictionInterval; } /** ** The prediction interval setup of a forecast computation. *
* * @param predictionInterval * The prediction interval setup of a forecast computation. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeBasedForecastProperties withPredictionInterval(Integer predictionInterval) { setPredictionInterval(predictionInterval); return this; } /** ** The seasonality setup of a forecast computation. Choose one of the following options: *
*
* NULL
: The input is set to NULL
.
*
* NON_NULL
: The input is set to a custom value.
*
* NULL
: The input is set to NULL
.
*
* NON_NULL
: The input is set to a custom value.
*
* The seasonality setup of a forecast computation. Choose one of the following options: *
*
* NULL
: The input is set to NULL
.
*
* NON_NULL
: The input is set to a custom value.
*
* NULL
: The input is set to NULL
.
*
* NON_NULL
: The input is set to a custom value.
*
* The seasonality setup of a forecast computation. Choose one of the following options: *
*
* NULL
: The input is set to NULL
.
*
* NON_NULL
: The input is set to a custom value.
*
* NULL
: The input is set to NULL
.
*
* NON_NULL
: The input is set to a custom value.
*