Package com.oracle.bmc.datascience.model
Class Job.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.Job.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Job
build()
Job.Builder
compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job.Job.Builder
copy(Job model)
Job.Builder
createdBy(String createdBy)
The OCID of the user who created the job.Job.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Job.Builder
description(String description)
A short description of the job.Job.Builder
displayName(String displayName)
A user-friendly display name for the resource.Job.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Job.Builder
id(String id)
The OCID of the job.Job.Builder
jobConfigurationDetails(JobConfigurationDetails jobConfigurationDetails)
Job.Builder
jobEnvironmentConfigurationDetails(JobEnvironmentConfigurationDetails jobEnvironmentConfigurationDetails)
Job.Builder
jobInfrastructureConfigurationDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationDetails)
Job.Builder
jobLogConfigurationDetails(JobLogConfigurationDetails jobLogConfigurationDetails)
Job.Builder
jobStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationDetailsList)
Collection of JobStorageMountConfigurationDetails.Job.Builder
lifecycleDetails(String lifecycleDetails)
The state of the job.Job.Builder
lifecycleState(JobLifecycleState lifecycleState)
The state of the job.Job.Builder
projectId(String projectId)
The OCID of the project to associate the job with.Job.Builder
timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
id
public Job.Builder id(String id)
The OCID of the job.- Parameters:
id
- the value to set- Returns:
- this builder
-
timeCreated
public Job.Builder timeCreated(Date timeCreated)
The date and time the resource was created in the timestamp format defined by RFC3339.Example: 2020-08-06T21:10:29.41Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
createdBy
public Job.Builder createdBy(String createdBy)
The OCID of the user who created the job.- Parameters:
createdBy
- the value to set- Returns:
- this builder
-
projectId
public Job.Builder projectId(String projectId)
The OCID of the project to associate the job with.- Parameters:
projectId
- the value to set- Returns:
- this builder
-
compartmentId
public Job.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public Job.Builder displayName(String displayName)
A user-friendly display name for the resource.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public Job.Builder description(String description)
A short description of the job.- Parameters:
description
- the value to set- Returns:
- this builder
-
jobConfigurationDetails
public Job.Builder jobConfigurationDetails(JobConfigurationDetails jobConfigurationDetails)
-
jobInfrastructureConfigurationDetails
public Job.Builder jobInfrastructureConfigurationDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationDetails)
-
jobEnvironmentConfigurationDetails
public Job.Builder jobEnvironmentConfigurationDetails(JobEnvironmentConfigurationDetails jobEnvironmentConfigurationDetails)
-
jobLogConfigurationDetails
public Job.Builder jobLogConfigurationDetails(JobLogConfigurationDetails jobLogConfigurationDetails)
-
jobStorageMountConfigurationDetailsList
public Job.Builder jobStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationDetailsList)
Collection of JobStorageMountConfigurationDetails.- Parameters:
jobStorageMountConfigurationDetailsList
- the value to set- Returns:
- this builder
-
lifecycleState
public Job.Builder lifecycleState(JobLifecycleState lifecycleState)
The state of the job.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public Job.Builder lifecycleDetails(String lifecycleDetails)
The state of the job.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public Job.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 Job.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 Job build()
-
copy
public Job.Builder copy(Job model)
-
-