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 JobRunbuild()JobRun.BuildercompartmentId(String compartmentId)The OCID of the compartment where you want to create the job run.JobRun.Buildercopy(JobRun model)JobRun.BuildercreatedBy(String createdBy)The OCID of the user who created the job run.JobRun.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.JobRun.BuilderdisplayName(String displayName)A user-friendly display name for the resource.JobRun.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.JobRun.Builderid(String id)The OCID of the job run.JobRun.BuilderjobConfigurationOverrideDetails(JobConfigurationDetails jobConfigurationOverrideDetails)JobRun.BuilderjobEnvironmentConfigurationOverrideDetails(JobEnvironmentConfigurationDetails jobEnvironmentConfigurationOverrideDetails)JobRun.BuilderjobId(String jobId)The OCID of the job.JobRun.BuilderjobInfrastructureConfigurationDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationDetails)JobRun.BuilderjobInfrastructureConfigurationOverrideDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationOverrideDetails)JobRun.BuilderjobLogConfigurationOverrideDetails(JobLogConfigurationDetails jobLogConfigurationOverrideDetails)JobRun.BuilderjobNodeConfigurationOverrideDetails(JobNodeConfigurationDetails jobNodeConfigurationOverrideDetails)JobRun.BuilderjobStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationDetailsList)Collection of JobStorageMountConfigurationDetails.JobRun.BuilderjobStorageMountConfigurationOverrideDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationOverrideDetailsList)Collection of JobStorageMountConfigurationDetails.JobRun.BuilderlifecycleDetails(String lifecycleDetails)Details of the state of the job run.JobRun.BuilderlifecycleState(JobRunLifecycleState lifecycleState)The state of the job run.JobRun.BuilderlogDetails(JobRunLogDetails logDetails)JobRun.BuildernodeGroupDetailsList(List<NodeGroupDetails> nodeGroupDetailsList)Collection of NodeGroupDetailsJobRun.BuilderprojectId(String projectId)The OCID of the project to associate the job run with.JobRun.BuildertimeAccepted(Date timeAccepted)The date and time the job run was accepted in the timestamp format defined by RFC3339.JobRun.BuildertimeFinished(Date timeFinished)The date and time the job run request was finished in the timestamp format defined by RFC3339.JobRun.BuildertimeStarted(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
-
jobStorageMountConfigurationOverrideDetailsList
public JobRun.Builder jobStorageMountConfigurationOverrideDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationOverrideDetailsList)
Collection of JobStorageMountConfigurationDetails.- Parameters:
jobStorageMountConfigurationOverrideDetailsList- the value to set- Returns:
- this builder
-
logDetails
public JobRun.Builder logDetails(JobRunLogDetails logDetails)
-
jobInfrastructureConfigurationOverrideDetails
public JobRun.Builder jobInfrastructureConfigurationOverrideDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationOverrideDetails)
-
jobNodeConfigurationOverrideDetails
public JobRun.Builder jobNodeConfigurationOverrideDetails(JobNodeConfigurationDetails jobNodeConfigurationOverrideDetails)
-
nodeGroupDetailsList
public JobRun.Builder nodeGroupDetailsList(List<NodeGroupDetails> nodeGroupDetailsList)
Collection of NodeGroupDetails- Parameters:
nodeGroupDetailsList- the value to set- Returns:
- this builder
-
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)
-
-