Package com.oracle.bmc.datascience.model
Class JobRun.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.JobRun.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobRun
build()
JobRun.Builder
compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job run.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.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 run 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.
-
-
-
Method Detail
-
id
public JobRun.Builder id(String id)
The OCID of the job run.- Parameters:
id
- the value to set- Returns:
- this builder
-
timeAccepted
public JobRun.Builder timeAccepted(Date timeAccepted)
The date and time the job run was accepted in the timestamp format defined by RFC3339.- Parameters:
timeAccepted
- the value to set- Returns:
- this builder
-
timeStarted
public JobRun.Builder timeStarted(Date timeStarted)
The date and time the job run request was started in the timestamp format defined by RFC3339.- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeFinished
public JobRun.Builder timeFinished(Date timeFinished)
The date and time the job run request was finished in the timestamp format defined by RFC3339.- Parameters:
timeFinished
- the value to set- Returns:
- this builder
-
createdBy
public JobRun.Builder createdBy(String createdBy)
The OCID of the user who created the job run.- Parameters:
createdBy
- the value to set- Returns:
- this builder
-
projectId
public JobRun.Builder projectId(String projectId)
The OCID of the project to associate the job run with.- Parameters:
projectId
- the value to set- Returns:
- this builder
-
compartmentId
public JobRun.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job run.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
jobId
public JobRun.Builder jobId(String jobId)
The OCID of the job.- Parameters:
jobId
- the value to set- Returns:
- this builder
-
displayName
public JobRun.Builder displayName(String displayName)
A user-friendly display name for the resource.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
jobConfigurationOverrideDetails
public JobRun.Builder jobConfigurationOverrideDetails(JobConfigurationDetails jobConfigurationOverrideDetails)
-
jobInfrastructureConfigurationDetails
public JobRun.Builder jobInfrastructureConfigurationDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationDetails)
-
jobEnvironmentConfigurationOverrideDetails
public JobRun.Builder jobEnvironmentConfigurationOverrideDetails(JobEnvironmentConfigurationDetails jobEnvironmentConfigurationOverrideDetails)
-
jobLogConfigurationOverrideDetails
public JobRun.Builder jobLogConfigurationOverrideDetails(JobLogConfigurationDetails jobLogConfigurationOverrideDetails)
-
jobStorageMountConfigurationDetailsList
public JobRun.Builder jobStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationDetailsList)
Collection of JobStorageMountConfigurationDetails.- Parameters:
jobStorageMountConfigurationDetailsList
- the value to set- Returns:
- this builder
-
logDetails
public JobRun.Builder logDetails(JobRunLogDetails logDetails)
-
lifecycleState
public JobRun.Builder lifecycleState(JobRunLifecycleState lifecycleState)
The state of the job run.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public JobRun.Builder lifecycleDetails(String lifecycleDetails)
Details of the state of the job run.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public JobRun build()
-
copy
public JobRun.Builder copy(JobRun model)
-
-