Enum WorkspaceStatus
- java.lang.Object
-
- java.lang.Enum<WorkspaceStatus>
-
- com.databricks.sdk.service.provisioning.WorkspaceStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<WorkspaceStatus>
@Generated public enum WorkspaceStatus extends Enum<WorkspaceStatus>
The status of the workspace. For workspace creation, usually it is set to `PROVISIONING` initially. Continue to check the status until the status is `RUNNING`.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANNED
CANCELLING
FAILED
NOT_PROVISIONED
PROVISIONING
RUNNING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkspaceStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static WorkspaceStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BANNED
public static final WorkspaceStatus BANNED
-
CANCELLING
public static final WorkspaceStatus CANCELLING
-
FAILED
public static final WorkspaceStatus FAILED
-
NOT_PROVISIONED
public static final WorkspaceStatus NOT_PROVISIONED
-
PROVISIONING
public static final WorkspaceStatus PROVISIONING
-
RUNNING
public static final WorkspaceStatus RUNNING
-
-
Method Detail
-
values
public static WorkspaceStatus[] 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 (WorkspaceStatus c : WorkspaceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkspaceStatus 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
-
-