Class JobSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.resourcemanager.model.JobSummary.Builder
 
- 
- Enclosing class:
- JobSummary
 
 public static class JobSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JobSummary.BuilderapplyJobPlanResolution(ApplyJobPlanResolution applyJobPlanResolution)JobSummarybuild()JobSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment where the stack of the associated job resides.JobSummary.Buildercopy(JobSummary model)JobSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.JobSummary.BuilderdisplayName(String displayName)A user-friendly name.JobSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags associated with the resource.JobSummary.Builderid(String id)The OCID of the job.JobSummary.BuilderjobOperationDetails(JobOperationDetailsSummary jobOperationDetails)JobSummary.BuilderlifecycleState(Job.LifecycleState lifecycleState)Current state of the specified job.JobSummary.Builderoperation(Job.Operation operation)The type of job executingJobSummary.BuilderresolvedPlanJobId(String resolvedPlanJobId)Deprecated.JobSummary.BuilderstackId(String stackId)The OCID of the stack that is associated with the specified job.JobSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)The system tags associated with this resource, if any.JobSummary.BuildertimeCreated(Date timeCreated)The date and time the job was created.JobSummary.BuildertimeFinished(Date timeFinished)The date and time the job succeeded or failed.
 
- 
- 
- 
Method Detail- 
idpublic JobSummary.Builder id(String id) The OCID of the job.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
stackIdpublic JobSummary.Builder stackId(String stackId) The OCID of the stack that is associated with the specified job.- Parameters:
- stackId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic JobSummary.Builder compartmentId(String compartmentId) The OCID of the compartment where the stack of the associated job resides.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic JobSummary.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
operationpublic JobSummary.Builder operation(Job.Operation operation) The type of job executing- Parameters:
- operation- the value to set
- Returns:
- this builder
 
 - 
jobOperationDetailspublic JobSummary.Builder jobOperationDetails(JobOperationDetailsSummary jobOperationDetails) 
 - 
applyJobPlanResolutionpublic JobSummary.Builder applyJobPlanResolution(ApplyJobPlanResolution applyJobPlanResolution) 
 - 
resolvedPlanJobIdpublic 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). - Parameters:
- resolvedPlanJobId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeFinishedpublic 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 - Parameters:
- timeFinished- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic 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. - Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic JobSummary.Builder freeformTags(Map<String,String> freeformTags) Free-form tags associated with the resource.Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic JobSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) The system tags associated with this resource, if any.The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic JobSummary build() 
 - 
copypublic JobSummary.Builder copy(JobSummary model) 
 
- 
 
-