Package com.oracle.bmc.datacatalog.model
Class CreateJobDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.CreateJobDetails.Builder
-
- Enclosing class:
- CreateJobDetails
public static class CreateJobDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
displayName
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.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public CreateJobDetails.Builder description(String description)
Detailed description of the job.- Parameters:
description
- the value to set- Returns:
- this builder
-
scheduleCronExpression
public 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.
- Parameters:
scheduleCronExpression
- the value to set- Returns:
- this builder
-
timeScheduleBegin
public CreateJobDetails.Builder timeScheduleBegin(Date timeScheduleBegin)
Date that the schedule should be operational.An RFC3339 formatted datetime string.
- Parameters:
timeScheduleBegin
- the value to set- Returns:
- this builder
-
timeScheduleEnd
public CreateJobDetails.Builder timeScheduleEnd(Date timeScheduleEnd)
Date that the schedule should end from being operational.An RFC3339 formatted datetime string.
- Parameters:
timeScheduleEnd
- the value to set- Returns:
- this builder
-
connectionKey
public 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.
- Parameters:
connectionKey
- the value to set- Returns:
- this builder
-
jobDefinitionKey
public CreateJobDetails.Builder jobDefinitionKey(String jobDefinitionKey)
The unique key of the job definition that defined the scope of this job.- Parameters:
jobDefinitionKey
- the value to set- Returns:
- this builder
-
build
public CreateJobDetails build()
-
copy
public CreateJobDetails.Builder copy(CreateJobDetails model)
-
-