Package com.oracle.bmc.database.model
Enum MaintenanceRunSummary.LifecycleState
- java.lang.Object
-
- java.lang.Enum<MaintenanceRunSummary.LifecycleState>
-
- com.oracle.bmc.database.model.MaintenanceRunSummary.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<MaintenanceRunSummary.LifecycleState>
- Enclosing class:
- MaintenanceRunSummary
public static enum MaintenanceRunSummary.LifecycleState extends Enum<MaintenanceRunSummary.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 MaintenanceRunSummary.LifecycleState
create(String key)
String
getValue()
static MaintenanceRunSummary.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static MaintenanceRunSummary.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 MaintenanceRunSummary.LifecycleState Scheduled
-
InProgress
public static final MaintenanceRunSummary.LifecycleState InProgress
-
Succeeded
public static final MaintenanceRunSummary.LifecycleState Succeeded
-
Skipped
public static final MaintenanceRunSummary.LifecycleState Skipped
-
Failed
public static final MaintenanceRunSummary.LifecycleState Failed
-
Updating
public static final MaintenanceRunSummary.LifecycleState Updating
-
Deleting
public static final MaintenanceRunSummary.LifecycleState Deleting
-
Deleted
public static final MaintenanceRunSummary.LifecycleState Deleted
-
Canceled
public static final MaintenanceRunSummary.LifecycleState Canceled
-
UnknownEnumValue
public static final MaintenanceRunSummary.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 MaintenanceRunSummary.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 (MaintenanceRunSummary.LifecycleState c : MaintenanceRunSummary.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 MaintenanceRunSummary.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 MaintenanceRunSummary.LifecycleState create(String key)
-
-