Enum ClusterSource
- java.lang.Object
-
- java.lang.Enum<ClusterSource>
-
- com.databricks.sdk.service.compute.ClusterSource
-
- All Implemented Interfaces:
Serializable
,Comparable<ClusterSource>
@Generated public enum ClusterSource extends Enum<ClusterSource>
Determines whether the cluster was created by a user through the UI, created by the Databricks Jobs Scheduler, or through an API request. This is the same as cluster_creator, but read only.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClusterSource
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClusterSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
API
public static final ClusterSource API
-
JOB
public static final ClusterSource JOB
-
MODELS
public static final ClusterSource MODELS
-
PIPELINE
public static final ClusterSource PIPELINE
-
PIPELINE_MAINTENANCE
public static final ClusterSource PIPELINE_MAINTENANCE
-
SQL
public static final ClusterSource SQL
-
UI
public static final ClusterSource UI
-
-
Method Detail
-
values
public static ClusterSource[] 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 (ClusterSource c : ClusterSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClusterSource 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
-
-