Package com.oracle.bmc.mysql.model
Enum MaintenanceScope
- java.lang.Object
-
- java.lang.Enum<MaintenanceScope>
-
- com.oracle.bmc.mysql.model.MaintenanceScope
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<MaintenanceScope>
@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public enum MaintenanceScope extends Enum<MaintenanceScope> implements BmcEnumThe MySQL instances operated during a maintenance event.- ALL: maintenance event targeting all MySQL instances in a DB System. - ALL_BUT_PRIMARY: maintenance event targeting all MySQL instances in a highly available DB System except the primary group member. - PRIMARY_ONLY: maintenance event targeting only the primary group member in a highly available DB System.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AllAllButPrimaryPrimaryOnlyUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceScopecreate(String key)StringgetValue()static MaintenanceScopevalueOf(String name)Returns the enum constant of this type with the specified name.static MaintenanceScope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
All
public static final MaintenanceScope All
-
AllButPrimary
public static final MaintenanceScope AllButPrimary
-
PrimaryOnly
public static final MaintenanceScope PrimaryOnly
-
UnknownEnumValue
public static final MaintenanceScope UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static MaintenanceScope[] 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 (MaintenanceScope c : MaintenanceScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaintenanceScope 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 MaintenanceScope create(String key)
-
-