Package com.oracle.bmc.database.model
Enum DbServerPatchingDetails.PatchingStatus
- java.lang.Object
-
- java.lang.Enum<DbServerPatchingDetails.PatchingStatus>
-
- com.oracle.bmc.database.model.DbServerPatchingDetails.PatchingStatus
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DbServerPatchingDetails.PatchingStatus>
- Enclosing class:
- DbServerPatchingDetails
public static enum DbServerPatchingDetails.PatchingStatus extends Enum<DbServerPatchingDetails.PatchingStatus> implements BmcEnum
The status of the patching operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Complete
Failed
MaintenanceInProgress
Scheduled
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbServerPatchingDetails.PatchingStatus
create(String key)
String
getValue()
static DbServerPatchingDetails.PatchingStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static DbServerPatchingDetails.PatchingStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Scheduled
public static final DbServerPatchingDetails.PatchingStatus Scheduled
-
MaintenanceInProgress
public static final DbServerPatchingDetails.PatchingStatus MaintenanceInProgress
-
Failed
public static final DbServerPatchingDetails.PatchingStatus Failed
-
Complete
public static final DbServerPatchingDetails.PatchingStatus Complete
-
UnknownEnumValue
public static final DbServerPatchingDetails.PatchingStatus 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 DbServerPatchingDetails.PatchingStatus[] 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 (DbServerPatchingDetails.PatchingStatus c : DbServerPatchingDetails.PatchingStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DbServerPatchingDetails.PatchingStatus 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 DbServerPatchingDetails.PatchingStatus create(String key)
-
-