Package com.databricks.sdk.service.jobs
Enum CreateJobFormat
- java.lang.Object
-
- java.lang.Enum<CreateJobFormat>
-
- com.databricks.sdk.service.jobs.CreateJobFormat
-
- All Implemented Interfaces:
Serializable
,Comparable<CreateJobFormat>
@Generated public enum CreateJobFormat extends Enum<CreateJobFormat>
Used to tell what is the format of the job. This field is ignored in Create/Update/Reset calls. When using the Jobs API 2.1 this value is always set to `"MULTI_TASK"`.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MULTI_TASK
SINGLE_TASK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CreateJobFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateJobFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MULTI_TASK
public static final CreateJobFormat MULTI_TASK
-
SINGLE_TASK
public static final CreateJobFormat SINGLE_TASK
-
-
Method Detail
-
values
public static CreateJobFormat[] 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 (CreateJobFormat c : CreateJobFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateJobFormat 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
-
-