Package com.oracle.bmc.database.model
Enum MaintenanceRun.LifecycleState
- java.lang.Object
-
- java.lang.Enum<MaintenanceRun.LifecycleState>
-
- com.oracle.bmc.database.model.MaintenanceRun.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<MaintenanceRun.LifecycleState>
- Enclosing class:
- MaintenanceRun
public static enum MaintenanceRun.LifecycleState extends Enum<MaintenanceRun.LifecycleState> implements BmcEnum
The current state of the maintenance run.For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Canceled
Deleted
Deleting
Failed
InProgress
Scheduled
Skipped
Succeeded
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Updating
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceRun.LifecycleState
create(String key)
String
getValue()
static MaintenanceRun.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static MaintenanceRun.LifecycleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Scheduled
public static final MaintenanceRun.LifecycleState Scheduled
-
InProgress
public static final MaintenanceRun.LifecycleState InProgress
-
Succeeded
public static final MaintenanceRun.LifecycleState Succeeded
-
Skipped
public static final MaintenanceRun.LifecycleState Skipped
-
Failed
public static final MaintenanceRun.LifecycleState Failed
-
Updating
public static final MaintenanceRun.LifecycleState Updating
-
Deleting
public static final MaintenanceRun.LifecycleState Deleting
-
Deleted
public static final MaintenanceRun.LifecycleState Deleted
-
Canceled
public static final MaintenanceRun.LifecycleState Canceled
-
UnknownEnumValue
public static final MaintenanceRun.LifecycleState 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 MaintenanceRun.LifecycleState[] 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 (MaintenanceRun.LifecycleState c : MaintenanceRun.LifecycleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaintenanceRun.LifecycleState 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 MaintenanceRun.LifecycleState create(String key)
-
-