Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobRun |
build() |
JobRun.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment where you want to create the job.
|
JobRun.Builder |
copy(JobRun model) |
JobRun.Builder |
createdBy(String createdBy)
The OCID
of the user who created the job run.
|
JobRun.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
JobRun.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
JobRun.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
JobRun.Builder |
id(String id)
The OCID
of the job run.
|
JobRun.Builder |
jobConfigurationOverrideDetails(JobConfigurationDetails jobConfigurationOverrideDetails) |
JobRun.Builder |
jobEnvironmentConfigurationOverrideDetails(JobEnvironmentConfigurationDetails jobEnvironmentConfigurationOverrideDetails) |
JobRun.Builder |
jobId(String jobId)
The OCID
of the job run.
|
JobRun.Builder |
jobInfrastructureConfigurationDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationDetails) |
JobRun.Builder |
jobLogConfigurationOverrideDetails(JobLogConfigurationDetails jobLogConfigurationOverrideDetails) |
JobRun.Builder |
jobStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationDetailsList)
Collection of JobStorageMountConfigurationDetails.
|
JobRun.Builder |
lifecycleDetails(String lifecycleDetails)
Details of the state of the job run.
|
JobRun.Builder |
lifecycleState(JobRunLifecycleState lifecycleState)
The state of the job run.
|
JobRun.Builder |
logDetails(JobRunLogDetails logDetails) |
JobRun.Builder |
projectId(String projectId)
The OCID
of the project to associate the job with.
|
JobRun.Builder |
timeAccepted(Date timeAccepted)
The date and time the job run was accepted in the timestamp format defined by
RFC3339.
|
JobRun.Builder |
timeFinished(Date timeFinished)
The date and time the job run request was finished in the timestamp format defined by
RFC3339.
|
JobRun.Builder |
timeStarted(Date timeStarted)
The date and time the job run request was started in the timestamp format defined by
RFC3339.
|
public JobRun.Builder id(String id)
The OCID of the job run.
id
- the value to setpublic JobRun.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 JobRun.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 JobRun.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 JobRun.Builder createdBy(String createdBy)
The OCID of the user who created the job run.
createdBy
- the value to setpublic JobRun.Builder projectId(String projectId)
The OCID of the project to associate the job with.
projectId
- the value to setpublic JobRun.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job.
compartmentId
- the value to setpublic JobRun.Builder jobId(String jobId)
The OCID of the job run.
jobId
- the value to setpublic JobRun.Builder displayName(String displayName)
A user-friendly display name for the resource.
displayName
- the value to setpublic JobRun.Builder jobConfigurationOverrideDetails(JobConfigurationDetails jobConfigurationOverrideDetails)
public JobRun.Builder jobInfrastructureConfigurationDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationDetails)
public JobRun.Builder jobEnvironmentConfigurationOverrideDetails(JobEnvironmentConfigurationDetails jobEnvironmentConfigurationOverrideDetails)
public JobRun.Builder jobLogConfigurationOverrideDetails(JobLogConfigurationDetails jobLogConfigurationOverrideDetails)
public JobRun.Builder jobStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationDetailsList)
Collection of JobStorageMountConfigurationDetails.
jobStorageMountConfigurationDetailsList
- the value to setpublic JobRun.Builder logDetails(JobRunLogDetails logDetails)
public JobRun.Builder lifecycleState(JobRunLifecycleState lifecycleState)
The state of the job run.
lifecycleState
- the value to setpublic JobRun.Builder lifecycleDetails(String lifecycleDetails)
Details of the state of the job run.
lifecycleDetails
- the value to setpublic JobRun.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 JobRun.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 JobRun build()
public JobRun.Builder copy(JobRun model)
Copyright © 2016–2024. All rights reserved.