Package com.oracle.bmc.mysql.model
Enum MaintenanceType
- java.lang.Object
-
- java.lang.Enum<MaintenanceType>
-
- com.oracle.bmc.mysql.model.MaintenanceType
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<MaintenanceType>
@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public enum MaintenanceType extends Enum<MaintenanceType> implements BmcEnumHow the maintenance event was triggered.AUTOMATIC: maintenance event triggered as part of scheduled maintenance. MANUAL: maintenance event triggered manually. SHAPE: maintenance event triggered by a shape update.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceTypecreate(String key)StringgetValue()static MaintenanceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MaintenanceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Automatic
public static final MaintenanceType Automatic
-
Manual
public static final MaintenanceType Manual
-
Shape
public static final MaintenanceType Shape
-
-
Method Detail
-
values
public static MaintenanceType[] 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 (MaintenanceType c : MaintenanceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaintenanceType 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 MaintenanceType create(String key)
-
-