Package com.oracle.bmc.datascience.model
Class JobRunSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.JobRunSummary.Builder
-
- Enclosing class:
- JobRunSummary
public static class JobRunSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobRunSummarybuild()JobRunSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment where you want to create the job run.JobRunSummary.Buildercopy(JobRunSummary model)JobRunSummary.BuildercreatedBy(String createdBy)The OCID of the user who created the job run.JobRunSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.JobRunSummary.BuilderdisplayName(String displayName)A user-friendly display name for the resource.JobRunSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.JobRunSummary.Builderid(String id)The OCID of the job run.JobRunSummary.BuilderjobId(String jobId)The OCID of the job.JobRunSummary.BuilderlifecycleDetails(String lifecycleDetails)Details of the state of the job run.JobRunSummary.BuilderlifecycleState(JobRunLifecycleState lifecycleState)The state of the job run.JobRunSummary.BuilderprojectId(String projectId)The OCID of the project to associate the job run with.JobRunSummary.BuildertimeAccepted(Date timeAccepted)The date and time the job run was accepted in the timestamp format defined by RFC3339.JobRunSummary.BuildertimeFinished(Date timeFinished)The date and time the job run request was finished in the timestamp format defined by RFC3339.JobRunSummary.BuildertimeStarted(Date timeStarted)The date and time the job run request was started in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
id
public JobRunSummary.Builder id(String id)
The OCID of the job run.- Parameters:
id- the value to set- Returns:
- this builder
-
timeAccepted
public JobRunSummary.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 JobRunSummary.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 JobRunSummary.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 JobRunSummary.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 JobRunSummary.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 JobRunSummary.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 JobRunSummary.Builder jobId(String jobId)
The OCID of the job.- Parameters:
jobId- the value to set- Returns:
- this builder
-
displayName
public JobRunSummary.Builder displayName(String displayName)
A user-friendly display name for the resource.- Parameters:
displayName- the value to set- Returns:
- this builder
-
lifecycleState
public JobRunSummary.Builder lifecycleState(JobRunLifecycleState lifecycleState)
The state of the job run.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public JobRunSummary.Builder lifecycleDetails(String lifecycleDetails)
Details of the state of the job run.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public JobRunSummary.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 JobRunSummary.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 JobRunSummary build()
-
copy
public JobRunSummary.Builder copy(JobRunSummary model)
-
-