Package com.oracle.bmc.datascience.model
Class PipelineRunSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.PipelineRunSummary.Builder
-
- Enclosing class:
- PipelineRunSummary
public static class PipelineRunSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineRunSummarybuild()PipelineRunSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment where you want to create the pipeline run.PipelineRunSummary.Buildercopy(PipelineRunSummary model)PipelineRunSummary.BuildercreatedBy(String createdBy)The OCID of the user who created the pipeline run.PipelineRunSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PipelineRunSummary.BuilderdisplayName(String displayName)A user-friendly display name for the resource.PipelineRunSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.PipelineRunSummary.Builderid(String id)The OCID of the pipeline run.PipelineRunSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.PipelineRunSummary.BuilderlifecycleState(PipelineRunLifecycleState lifecycleState)The state of the pipeline run.PipelineRunSummary.BuilderpipelineId(String pipelineId)The OCID of the pipeline for which pipeline run is created.PipelineRunSummary.BuilderprojectId(String projectId)The OCID of the project to associate the pipeline run with.PipelineRunSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.PipelineRunSummary.BuildertimeAccepted(Date timeAccepted)The date and time the pipeline run was accepted in the timestamp format defined by RFC3339.PipelineRunSummary.BuildertimeFinished(Date timeFinished)The date and time the pipeline run request was finished in the timestamp format defined by RFC3339.PipelineRunSummary.BuildertimeStarted(Date timeStarted)The date and time the pipeline run request was started in the timestamp format defined by RFC3339.PipelineRunSummary.BuildertimeUpdated(Date timeUpdated)The date and time the pipeline run was updated in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
id
public PipelineRunSummary.Builder id(String id)
The OCID of the pipeline run.- Parameters:
id- the value to set- Returns:
- this builder
-
timeAccepted
public PipelineRunSummary.Builder timeAccepted(Date timeAccepted)
The date and time the pipeline run was accepted in the timestamp format defined by RFC3339.- Parameters:
timeAccepted- the value to set- Returns:
- this builder
-
timeStarted
public PipelineRunSummary.Builder timeStarted(Date timeStarted)
The date and time the pipeline run request was started in the timestamp format defined by RFC3339.- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeFinished
public PipelineRunSummary.Builder timeFinished(Date timeFinished)
The date and time the pipeline run request was finished in the timestamp format defined by RFC3339.- Parameters:
timeFinished- the value to set- Returns:
- this builder
-
timeUpdated
public PipelineRunSummary.Builder timeUpdated(Date timeUpdated)
The date and time the pipeline run was updated in the timestamp format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
createdBy
public PipelineRunSummary.Builder createdBy(String createdBy)
The OCID of the user who created the pipeline run.- Parameters:
createdBy- the value to set- Returns:
- this builder
-
projectId
public PipelineRunSummary.Builder projectId(String projectId)
The OCID of the project to associate the pipeline run with.- Parameters:
projectId- the value to set- Returns:
- this builder
-
compartmentId
public PipelineRunSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the pipeline run.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
pipelineId
public PipelineRunSummary.Builder pipelineId(String pipelineId)
The OCID of the pipeline for which pipeline run is created.- Parameters:
pipelineId- the value to set- Returns:
- this builder
-
displayName
public PipelineRunSummary.Builder displayName(String displayName)
A user-friendly display name for the resource.- Parameters:
displayName- the value to set- Returns:
- this builder
-
lifecycleState
public PipelineRunSummary.Builder lifecycleState(PipelineRunLifecycleState lifecycleState)
The state of the pipeline run.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public PipelineRunSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in ‘Failed’ state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public PipelineRunSummary.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 PipelineRunSummary.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
-
systemTags
public PipelineRunSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public PipelineRunSummary build()
-
copy
public PipelineRunSummary.Builder copy(PipelineRunSummary model)
-
-