Package com.oracle.bmc.datascience.model
Class Job.Builder
- java.lang.Object
- 
- com.oracle.bmc.datascience.model.Job.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Jobbuild()Job.BuildercompartmentId(String compartmentId)The OCID of the compartment where you want to create the job.Job.Buildercopy(Job model)Job.BuildercreatedBy(String createdBy)The OCID of the user who created the job.Job.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Job.Builderdescription(String description)A short description of the job.Job.BuilderdisplayName(String displayName)A user-friendly display name for the resource.Job.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Job.Builderid(String id)The OCID of the job.Job.BuilderjobConfigurationDetails(JobConfigurationDetails jobConfigurationDetails)Job.BuilderjobEnvironmentConfigurationDetails(JobEnvironmentConfigurationDetails jobEnvironmentConfigurationDetails)Job.BuilderjobInfrastructureConfigurationDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationDetails)Job.BuilderjobLogConfigurationDetails(JobLogConfigurationDetails jobLogConfigurationDetails)Job.BuilderjobNodeConfigurationDetails(JobNodeConfigurationDetails jobNodeConfigurationDetails)Job.BuilderjobStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationDetailsList)Collection of JobStorageMountConfigurationDetails.Job.BuilderlifecycleDetails(String lifecycleDetails)The state of the job.Job.BuilderlifecycleState(JobLifecycleState lifecycleState)The state of the job.Job.BuilderprojectId(String projectId)The OCID of the project to associate the job with.Job.BuildertimeCreated(Date timeCreated)The date and time the resource was created in the timestamp format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic Job.Builder id(String id) The OCID of the job.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
createdBypublic Job.Builder createdBy(String createdBy) The OCID of the user who created the job.- Parameters:
- createdBy- the value to set
- Returns:
- this builder
 
 - 
projectIdpublic Job.Builder projectId(String projectId) The OCID of the project to associate the job with.- Parameters:
- projectId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic 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
 
 - 
displayNamepublic Job.Builder displayName(String displayName) A user-friendly display name for the resource.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Job.Builder description(String description) A short description of the job.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
jobConfigurationDetailspublic Job.Builder jobConfigurationDetails(JobConfigurationDetails jobConfigurationDetails) 
 - 
jobInfrastructureConfigurationDetailspublic Job.Builder jobInfrastructureConfigurationDetails(JobInfrastructureConfigurationDetails jobInfrastructureConfigurationDetails) 
 - 
jobEnvironmentConfigurationDetailspublic Job.Builder jobEnvironmentConfigurationDetails(JobEnvironmentConfigurationDetails jobEnvironmentConfigurationDetails) 
 - 
jobLogConfigurationDetailspublic Job.Builder jobLogConfigurationDetails(JobLogConfigurationDetails jobLogConfigurationDetails) 
 - 
jobStorageMountConfigurationDetailsListpublic Job.Builder jobStorageMountConfigurationDetailsList(List<StorageMountConfigurationDetails> jobStorageMountConfigurationDetailsList) Collection of JobStorageMountConfigurationDetails.- Parameters:
- jobStorageMountConfigurationDetailsList- the value to set
- Returns:
- this builder
 
 - 
jobNodeConfigurationDetailspublic Job.Builder jobNodeConfigurationDetails(JobNodeConfigurationDetails jobNodeConfigurationDetails) 
 - 
lifecycleStatepublic Job.Builder lifecycleState(JobLifecycleState lifecycleState) The state of the job.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Job.Builder lifecycleDetails(String lifecycleDetails) The state of the job.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic Job build() 
 - 
copypublic Job.Builder copy(Job model) 
 
- 
 
-