Enum Dataset.LifecycleState
- java.lang.Object
-
- java.lang.Enum<Dataset.LifecycleState>
-
- com.oracle.bmc.datalabelingservice.model.Dataset.LifecycleState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<Dataset.LifecycleState>
- Enclosing class:
- Dataset
public static enum Dataset.LifecycleState extends Enum<Dataset.LifecycleState> implements BmcEnum
The state of a dataset.CREATING - The dataset is being created. It will transition to ACTIVE when it is ready for labeling. ACTIVE - The dataset is ready for labeling. UPDATING - The dataset is being updated. It and its related resources may be unavailable for other updates until it returns to ACTIVE. NEEDS_ATTENTION - A dataset updation operation has failed due to validation or other errors and needs attention. DELETING - The dataset and its related resources are being deleted. DELETED - The dataset has been deleted and is no longer available. FAILED - The dataset has failed due to validation or other errors.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Active
Creating
Deleted
Deleting
Failed
NeedsAttention
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 Dataset.LifecycleState
create(String key)
String
getValue()
static Dataset.LifecycleState
valueOf(String name)
Returns the enum constant of this type with the specified name.static Dataset.LifecycleState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Creating
public static final Dataset.LifecycleState Creating
-
Updating
public static final Dataset.LifecycleState Updating
-
Active
public static final Dataset.LifecycleState Active
-
NeedsAttention
public static final Dataset.LifecycleState NeedsAttention
-
Deleting
public static final Dataset.LifecycleState Deleting
-
Deleted
public static final Dataset.LifecycleState Deleted
-
Failed
public static final Dataset.LifecycleState Failed
-
UnknownEnumValue
public static final Dataset.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 Dataset.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 (Dataset.LifecycleState c : Dataset.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 Dataset.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 Dataset.LifecycleState create(String key)
-
-