public static class UpdateJobDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateJobDetails |
build() |
UpdateJobDetails.Builder |
connectionKey(String connectionKey)
The key of the connection resource that is used for the harvest by this job.
|
UpdateJobDetails.Builder |
copy(UpdateJobDetails model) |
UpdateJobDetails.Builder |
description(String description)
Detailed description of the job.
|
UpdateJobDetails.Builder |
displayName(String displayName)
A user-friendly display name.
|
UpdateJobDetails.Builder |
scheduleCronExpression(String scheduleCronExpression)
Interval on which the job will be run.
|
UpdateJobDetails.Builder |
timeScheduleBegin(Date timeScheduleBegin)
Date that the schedule should be operational.
|
UpdateJobDetails.Builder |
timeScheduleEnd(Date timeScheduleEnd)
Date that the schedule should end from being operational.
|
public UpdateJobDetails.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 UpdateJobDetails.Builder description(String description)
Detailed description of the job.
description
- the value to setpublic UpdateJobDetails.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 UpdateJobDetails.Builder timeScheduleBegin(Date timeScheduleBegin)
Date that the schedule should be operational. An RFC3339 formatted datetime string.
timeScheduleBegin
- the value to setpublic UpdateJobDetails.Builder timeScheduleEnd(Date timeScheduleEnd)
Date that the schedule should end from being operational. An RFC3339 formatted datetime string.
timeScheduleEnd
- the value to setpublic UpdateJobDetails.Builder connectionKey(String connectionKey)
The key of the connection resource that is used for the harvest by this job.
connectionKey
- the value to setpublic UpdateJobDetails build()
public UpdateJobDetails.Builder copy(UpdateJobDetails model)
Copyright © 2016–2024. All rights reserved.