Package com.exoscale.sdk.model
Enum JsonSchemaMysql.LogOutputEnum
- java.lang.Object
-
- java.lang.Enum<JsonSchemaMysql.LogOutputEnum>
-
- com.exoscale.sdk.model.JsonSchemaMysql.LogOutputEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<JsonSchemaMysql.LogOutputEnum>
- Enclosing class:
- JsonSchemaMysql
public static enum JsonSchemaMysql.LogOutputEnum extends Enum<JsonSchemaMysql.LogOutputEnum>
The slow log output destination when slow_query_log is ON. To enable MySQL AI Insights, choose INSIGHTS. To use MySQL AI Insights and the mysql.slow_log table at the same time, choose INSIGHTS,TABLE. To only use the mysql.slow_log table, choose TABLE. To silence slow logs, choose NONE.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSIGHTS
INSIGHTS_TABLE
NONE
TABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonSchemaMysql.LogOutputEnum
fromValue(String value)
String
getValue()
String
toString()
static JsonSchemaMysql.LogOutputEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static JsonSchemaMysql.LogOutputEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSIGHTS
public static final JsonSchemaMysql.LogOutputEnum INSIGHTS
-
INSIGHTS_TABLE
public static final JsonSchemaMysql.LogOutputEnum INSIGHTS_TABLE
-
NONE
public static final JsonSchemaMysql.LogOutputEnum NONE
-
TABLE
public static final JsonSchemaMysql.LogOutputEnum TABLE
-
-
Method Detail
-
values
public static JsonSchemaMysql.LogOutputEnum[] 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 (JsonSchemaMysql.LogOutputEnum c : JsonSchemaMysql.LogOutputEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonSchemaMysql.LogOutputEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<JsonSchemaMysql.LogOutputEnum>
-
fromValue
public static JsonSchemaMysql.LogOutputEnum fromValue(String value)
-
-