Package com.oracle.bmc.opsi.requests
Enum SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic
- java.lang.Object
-
- java.lang.Enum<SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic>
-
- com.oracle.bmc.opsi.requests.SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic>
- Enclosing class:
- SummarizeDatabaseInsightResourceForecastTrendRequest
public static enum SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic extends Enum<SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic> implements BmcEnum
Choose the type of statistic metric data to be used for forecasting.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic
create(String key)
String
getValue()
static SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic
valueOf(String name)
Returns the enum constant of this type with the specified name.static SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Avg
public static final SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic Avg
-
Max
public static final SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic Max
-
-
Method Detail
-
values
public static SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic[] 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 (SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic c : SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic 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 SummarizeDatabaseInsightResourceForecastTrendRequest.Statistic create(String key)
-
-