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 and 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 |
Modifier and Type | Method and 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.
|
public static final Dataset.LifecycleState Creating
public static final Dataset.LifecycleState Updating
public static final Dataset.LifecycleState Active
public static final Dataset.LifecycleState NeedsAttention
public static final Dataset.LifecycleState Deleting
public static final Dataset.LifecycleState Deleted
public static final Dataset.LifecycleState Failed
public static final Dataset.LifecycleState UnknownEnumValue
public static Dataset.LifecycleState[] values()
for (Dataset.LifecycleState c : Dataset.LifecycleState.values()) System.out.println(c);
public static Dataset.LifecycleState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Dataset.LifecycleState create(String key)
Copyright © 2016–2024. All rights reserved.