public static class JobSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobSummary |
build() |
JobSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment in which the job resides.
|
JobSummary.Builder |
copy(JobSummary model) |
JobSummary.Builder |
databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database where the job has to be executed.
|
JobSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
JobSummary.Builder |
description(String description)
The description of the job.
|
JobSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
JobSummary.Builder |
id(String id)
The OCID of the
job.
|
JobSummary.Builder |
jobType(JobTypes jobType)
The type of job.
|
JobSummary.Builder |
lifecycleState(Job.LifecycleState lifecycleState)
The lifecycle state of the job.
|
JobSummary.Builder |
managedDatabaseGroupId(String managedDatabaseGroupId)
The OCID of the
Managed Database Group where the job has to be executed.
|
JobSummary.Builder |
managedDatabaseId(String managedDatabaseId)
The OCID of the
Managed Database where the job has to be executed.
|
JobSummary.Builder |
name(String name)
The display name of the job.
|
JobSummary.Builder |
scheduleDetails(JobScheduleDetails scheduleDetails) |
JobSummary.Builder |
scheduleType(Job.ScheduleType scheduleType)
The schedule type of the job.
|
JobSummary.Builder |
submissionErrorMessage(String submissionErrorMessage)
The error message that is returned if the job submission fails.
|
JobSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
JobSummary.Builder |
timeCreated(Date timeCreated)
The date and time when the job was created.
|
JobSummary.Builder |
timeout(String timeout)
The job timeout duration, which is expressed like “1h 10m 15s”.
|
JobSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time when the job was last updated.
|
public JobSummary.Builder id(String id)
The OCID of the job.
id
- the value to setpublic JobSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the job resides.
compartmentId
- the value to setpublic JobSummary.Builder name(String name)
The display name of the job.
name
- the value to setpublic JobSummary.Builder description(String description)
The description of the job.
description
- the value to setpublic JobSummary.Builder managedDatabaseGroupId(String managedDatabaseGroupId)
The OCID of the Managed Database Group where the job has to be executed.
managedDatabaseGroupId
- the value to setpublic JobSummary.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database where the job has to be executed.
managedDatabaseId
- the value to setpublic JobSummary.Builder databaseSubType(DatabaseSubType databaseSubType)
The subtype of the Oracle Database where the job has to be executed. Only applicable when managedDatabaseGroupId is provided.
databaseSubType
- the value to setpublic JobSummary.Builder scheduleType(Job.ScheduleType scheduleType)
The schedule type of the job.
scheduleType
- the value to setpublic JobSummary.Builder scheduleDetails(JobScheduleDetails scheduleDetails)
public JobSummary.Builder jobType(JobTypes jobType)
The type of job.
jobType
- the value to setpublic JobSummary.Builder lifecycleState(Job.LifecycleState lifecycleState)
The lifecycle state of the job.
lifecycleState
- the value to setpublic JobSummary.Builder timeout(String timeout)
The job timeout duration, which is expressed like “1h 10m 15s”.
timeout
- the value to setpublic JobSummary.Builder submissionErrorMessage(String submissionErrorMessage)
The error message that is returned if the job submission fails. Null is returned in all other scenarios.
submissionErrorMessage
- the value to setpublic JobSummary.Builder timeCreated(Date timeCreated)
The date and time when the job was created.
timeCreated
- the value to setpublic JobSummary.Builder timeUpdated(Date timeUpdated)
The date and time when the job was last updated.
timeUpdated
- the value to setpublic JobSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic JobSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic JobSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic JobSummary build()
public JobSummary.Builder copy(JobSummary model)
Copyright © 2016–2024. All rights reserved.