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