Class CustomForecastHorizon
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ForecastHorizon
-
- com.azure.resourcemanager.machinelearning.models.CustomForecastHorizon
-
public final class CustomForecastHorizon extends ForecastHorizon
The desired maximum forecast horizon in units of time-series frequency.
-
-
Constructor Summary
Constructors Constructor Description CustomForecastHorizon()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.int
value()
Get the value property: [Required] Forecast horizon value.CustomForecastHorizon
withValue(int value)
Set the value property: [Required] Forecast horizon value.
-
-
-
Method Detail
-
value
public int value()
Get the value property: [Required] Forecast horizon value.- Returns:
- the value value.
-
withValue
public CustomForecastHorizon withValue(int value)
Set the value property: [Required] Forecast horizon value.- Parameters:
value
- the value value to set.- Returns:
- the CustomForecastHorizon object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classForecastHorizon
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-