public static class JobRunSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobRunSummary |
build() |
JobRunSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment where you want to create the job run.
|
JobRunSummary.Builder |
copy(JobRunSummary model) |
JobRunSummary.Builder |
createdBy(String createdBy)
The OCID
of the user who created the job run.
|
JobRunSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
JobRunSummary.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
JobRunSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
JobRunSummary.Builder |
id(String id)
The OCID
of the job run.
|
JobRunSummary.Builder |
jobId(String jobId)
The OCID
of the job.
|
JobRunSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details of the state of the job run.
|
JobRunSummary.Builder |
lifecycleState(JobRunLifecycleState lifecycleState)
The state of the job run.
|
JobRunSummary.Builder |
projectId(String projectId)
The OCID
of the project to associate the job run with.
|
JobRunSummary.Builder |
timeAccepted(Date timeAccepted)
The date and time the job run was accepted in the timestamp format defined by
RFC3339.
|
JobRunSummary.Builder |
timeFinished(Date timeFinished)
The date and time the job run request was finished in the timestamp format defined by
RFC3339.
|
JobRunSummary.Builder |
timeStarted(Date timeStarted)
The date and time the job run request was started in the timestamp format defined by
RFC3339.
|
public JobRunSummary.Builder id(String id)
The OCID of the job run.
id
- the value to setpublic JobRunSummary.Builder timeAccepted(Date timeAccepted)
The date and time the job run was accepted in the timestamp format defined by RFC3339.
timeAccepted
- the value to setpublic JobRunSummary.Builder timeStarted(Date timeStarted)
The date and time the job run request was started in the timestamp format defined by RFC3339.
timeStarted
- the value to setpublic JobRunSummary.Builder timeFinished(Date timeFinished)
The date and time the job run request was finished in the timestamp format defined by RFC3339.
timeFinished
- the value to setpublic JobRunSummary.Builder createdBy(String createdBy)
The OCID of the user who created the job run.
createdBy
- the value to setpublic JobRunSummary.Builder projectId(String projectId)
The OCID of the project to associate the job run with.
projectId
- the value to setpublic JobRunSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job run.
compartmentId
- the value to setpublic JobRunSummary.Builder jobId(String jobId)
The OCID of the job.
jobId
- the value to setpublic JobRunSummary.Builder displayName(String displayName)
A user-friendly display name for the resource.
displayName
- the value to setpublic JobRunSummary.Builder lifecycleState(JobRunLifecycleState lifecycleState)
The state of the job run.
lifecycleState
- the value to setpublic JobRunSummary.Builder lifecycleDetails(String lifecycleDetails)
Details of the state of the job run.
lifecycleDetails
- the value to setpublic JobRunSummary.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. See Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic JobRunSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. See
Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic JobRunSummary build()
public JobRunSummary.Builder copy(JobRunSummary model)
Copyright © 2016–2024. All rights reserved.