Class Forecast.Builder

  • Enclosing class:
    Forecast

    public static class Forecast.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • forecastType

        public Forecast.Builder forecastType​(Forecast.ForecastType forecastType)
        BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data.

        The basis for projections is a periodic set of equivalent historical days for which the projection is being made.

        Parameters:
        forecastType - the value to set
        Returns:
        this builder
      • timeForecastStarted

        public Forecast.Builder timeForecastStarted​(Date timeForecastStarted)
        The forecast start time.

        Defaults to UTC-1 if not specified.

        Parameters:
        timeForecastStarted - the value to set
        Returns:
        this builder
      • timeForecastEnded

        public Forecast.Builder timeForecastEnded​(Date timeForecastEnded)
        The forecast end time.
        Parameters:
        timeForecastEnded - the value to set
        Returns:
        this builder