Package com.oracle.bmc.oce.model
Enum WorkRequestResource.ActionType
- java.lang.Object
-
- java.lang.Enum<WorkRequestResource.ActionType>
-
- com.oracle.bmc.oce.model.WorkRequestResource.ActionType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<WorkRequestResource.ActionType>
- Enclosing class:
- WorkRequestResource
public static enum WorkRequestResource.ActionType extends Enum<WorkRequestResource.ActionType> implements BmcEnum
The way in which this resource is affected by the work tracked in the work request.A resource being created, updated, or deleted will remain in the IN_PROGRESS state until work is complete for that resource at which point it will transition to CREATED, UPDATED, or DELETED, respectively.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Created
Deleted
Failed
InProgress
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Updated
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkRequestResource.ActionType
create(String key)
String
getValue()
static WorkRequestResource.ActionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static WorkRequestResource.ActionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Created
public static final WorkRequestResource.ActionType Created
-
Updated
public static final WorkRequestResource.ActionType Updated
-
Deleted
public static final WorkRequestResource.ActionType Deleted
-
InProgress
public static final WorkRequestResource.ActionType InProgress
-
Failed
public static final WorkRequestResource.ActionType Failed
-
UnknownEnumValue
public static final WorkRequestResource.ActionType 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 WorkRequestResource.ActionType[] 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 (WorkRequestResource.ActionType c : WorkRequestResource.ActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkRequestResource.ActionType 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 WorkRequestResource.ActionType create(String key)
-
-