public static class CreateJobDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateJobDetails |
build() |
CreateJobDetails.Builder |
connectionKey(String connectionKey)
The key of the connection used by the job.
|
CreateJobDetails.Builder |
copy(CreateJobDetails model) |
CreateJobDetails.Builder |
description(String description)
Detailed description of the job.
|
CreateJobDetails.Builder |
displayName(String displayName)
A user-friendly display name.
|
CreateJobDetails.Builder |
jobDefinitionKey(String jobDefinitionKey)
The unique key of the job definition that defined the scope of this job.
|
CreateJobDetails.Builder |
scheduleCronExpression(String scheduleCronExpression)
Interval on which the job will be run.
|
CreateJobDetails.Builder |
timeScheduleBegin(Date timeScheduleBegin)
Date that the schedule should be operational.
|
CreateJobDetails.Builder |
timeScheduleEnd(Date timeScheduleEnd)
Date that the schedule should end from being operational.
|
public CreateJobDetails.Builder displayName(String displayName)
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic CreateJobDetails.Builder description(String description)
Detailed description of the job.
description
- the value to setpublic CreateJobDetails.Builder scheduleCronExpression(String scheduleCronExpression)
Interval on which the job will be run. Value is specified as a cron-supported time specification “nickname”. The following subset of those is supported: @monthly, @weekly, @daily, @hourly. For metastore sync, an additional option @default is supported, which will schedule jobs at a more granular frequency.
scheduleCronExpression
- the value to setpublic CreateJobDetails.Builder timeScheduleBegin(Date timeScheduleBegin)
Date that the schedule should be operational. An RFC3339 formatted datetime string.
timeScheduleBegin
- the value to setpublic CreateJobDetails.Builder timeScheduleEnd(Date timeScheduleEnd)
Date that the schedule should end from being operational. An RFC3339 formatted datetime string.
timeScheduleEnd
- the value to setpublic CreateJobDetails.Builder connectionKey(String connectionKey)
The key of the connection used by the job. This connection will override the default connection specified in the associated job definition. All executions will use this connection.
connectionKey
- the value to setpublic CreateJobDetails.Builder jobDefinitionKey(String jobDefinitionKey)
The unique key of the job definition that defined the scope of this job.
jobDefinitionKey
- the value to setpublic CreateJobDetails build()
public CreateJobDetails.Builder copy(CreateJobDetails model)
Copyright © 2016–2024. All rights reserved.