Package com.oracle.bmc.opsi.requests
Enum SummarizeHostInsightResourceForecastTrendRequest.ForecastModel
- java.lang.Object
-
- java.lang.Enum<SummarizeHostInsightResourceForecastTrendRequest.ForecastModel>
-
- com.oracle.bmc.opsi.requests.SummarizeHostInsightResourceForecastTrendRequest.ForecastModel
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SummarizeHostInsightResourceForecastTrendRequest.ForecastModel>
- Enclosing class:
- SummarizeHostInsightResourceForecastTrendRequest
public static enum SummarizeHostInsightResourceForecastTrendRequest.ForecastModel extends Enum<SummarizeHostInsightResourceForecastTrendRequest.ForecastModel> implements BmcEnum
Choose algorithm model for the forecasting.Possible values: - LINEAR: Uses linear regression algorithm for forecasting. - ML_AUTO: Automatically detects best algorithm to use for forecasting. - ML_NO_AUTO: Automatically detects seasonality of the data for forecasting using linear or seasonal algorithm.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SummarizeHostInsightResourceForecastTrendRequest.ForecastModel
create(String key)
String
getValue()
static SummarizeHostInsightResourceForecastTrendRequest.ForecastModel
valueOf(String name)
Returns the enum constant of this type with the specified name.static SummarizeHostInsightResourceForecastTrendRequest.ForecastModel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Linear
public static final SummarizeHostInsightResourceForecastTrendRequest.ForecastModel Linear
-
MlAuto
public static final SummarizeHostInsightResourceForecastTrendRequest.ForecastModel MlAuto
-
MlNoAuto
public static final SummarizeHostInsightResourceForecastTrendRequest.ForecastModel MlNoAuto
-
-
Method Detail
-
values
public static SummarizeHostInsightResourceForecastTrendRequest.ForecastModel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SummarizeHostInsightResourceForecastTrendRequest.ForecastModel c : SummarizeHostInsightResourceForecastTrendRequest.ForecastModel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SummarizeHostInsightResourceForecastTrendRequest.ForecastModel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static SummarizeHostInsightResourceForecastTrendRequest.ForecastModel create(String key)
-
-