public static class JobSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobSummary.Builder |
applyJobPlanResolution(ApplyJobPlanResolution applyJobPlanResolution) |
JobSummary |
build() |
JobSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment where the stack of the associated job resides.
|
JobSummary.Builder |
copy(JobSummary model) |
JobSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
JobSummary.Builder |
displayName(String displayName)
The job’s display name.
|
JobSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags associated with this resource.
|
JobSummary.Builder |
id(String id)
The OCID
of the job.
|
JobSummary.Builder |
jobOperationDetails(JobOperationDetailsSummary jobOperationDetails) |
JobSummary.Builder |
lifecycleState(Job.LifecycleState lifecycleState)
Current state of the specified job.
|
JobSummary.Builder |
operation(Job.Operation operation)
The type of job executing
|
JobSummary.Builder |
resolvedPlanJobId(String resolvedPlanJobId)
Deprecated.
|
JobSummary.Builder |
stackId(String stackId)
The OCID
of the stack that is associated with the specified job.
|
JobSummary.Builder |
timeCreated(Date timeCreated)
The date and time the job was created.
|
JobSummary.Builder |
timeFinished(Date timeFinished)
The date and time the job succeeded or failed.
|
public JobSummary.Builder id(String id)
The OCID of the job.
id
- the value to setpublic JobSummary.Builder stackId(String stackId)
The OCID of the stack that is associated with the specified job.
stackId
- the value to setpublic JobSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where the stack of the associated job resides.
compartmentId
- the value to setpublic JobSummary.Builder displayName(String displayName)
The job’s display name.
displayName
- the value to setpublic JobSummary.Builder operation(Job.Operation operation)
The type of job executing
operation
- the value to setpublic JobSummary.Builder jobOperationDetails(JobOperationDetailsSummary jobOperationDetails)
public JobSummary.Builder applyJobPlanResolution(ApplyJobPlanResolution applyJobPlanResolution)
public JobSummary.Builder resolvedPlanJobId(String resolvedPlanJobId)
Deprecated. Use the property executionPlanJobId
in jobOperationDetails
instead. The plan job
OCID that
was used (if this was an apply job and was not auto-approved).
resolvedPlanJobId
- the value to setpublic JobSummary.Builder timeCreated(Date timeCreated)
The date and time the job was created. Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
timeCreated
- the value to setpublic JobSummary.Builder timeFinished(Date timeFinished)
The date and time the job succeeded or failed. Format is defined by RFC3339. Example:
2020-01-25T21:10:29.600Z
timeFinished
- the value to setpublic JobSummary.Builder lifecycleState(Job.LifecycleState lifecycleState)
Current state of the specified job. For more information about job lifecycle states in Resource Manager, see Key Concepts.
Allowable values: - ACCEPTED - IN_PROGRESS - FAILED - SUCCEEDED - CANCELING - CANCELED
lifecycleState
- the value to setpublic JobSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags associated with this resource. Each tag is a 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 build()
public JobSummary.Builder copy(JobSummary model)
Copyright © 2016–2024. All rights reserved.