Package com.oracle.bmc.usageapi.model
Class Forecast.Builder
- java.lang.Object
-
- com.oracle.bmc.usageapi.model.Forecast.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Forecastbuild()Forecast.Buildercopy(Forecast model)Forecast.BuilderforecastType(Forecast.ForecastType forecastType)BASIC uses the exponential smoothing (ETS) model to project future usage or costs based on history data.Forecast.BuildertimeForecastEnded(Date timeForecastEnded)The forecast end time.Forecast.BuildertimeForecastStarted(Date timeForecastStarted)The forecast start time.
-
-
-
Method Detail
-
forecastType
public Forecast.Builder forecastType(Forecast.ForecastType forecastType)
BASIC uses the exponential smoothing (ETS) model to project future usage or 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
-
build
public Forecast build()
-
copy
public Forecast.Builder copy(Forecast model)
-
-