Enum JsonSchemaMysql.EventSchedulerEnum
java.lang.Object
java.lang.Enum<JsonSchemaMysql.EventSchedulerEnum>
com.exoscale.sdk.model.JsonSchemaMysql.EventSchedulerEnum
- All Implemented Interfaces:
Serializable, Comparable<JsonSchemaMysql.EventSchedulerEnum>, java.lang.constant.Constable
- Enclosing class:
JsonSchemaMysql
public static enum JsonSchemaMysql.EventSchedulerEnum
extends Enum<JsonSchemaMysql.EventSchedulerEnum>
Whether the event scheduler runs the events created with CREATE EVENT. Set OFF to stop every event on the service without dropping it, and ON to start them again. A change applies at once, without a restart. Events take effect only on the primary node. After a failover, they are re-enabled on the new primary. Default is ON.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()toString()Returns the enum constant of this type with the specified name.static JsonSchemaMysql.EventSchedulerEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ON
-
OFF
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
- Overrides:
toStringin classEnum<JsonSchemaMysql.EventSchedulerEnum>
-
fromValue
-