Package com.oracle.bmc.datascience.model
Class PipelineRun.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.PipelineRun.Builder
-
- Enclosing class:
- PipelineRun
public static class PipelineRun.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineRun
build()
PipelineRun.Builder
compartmentId(String compartmentId)
The OCID of the compartment where you want to create the pipeline run.PipelineRun.Builder
configurationDetails(PipelineConfigurationDetails configurationDetails)
PipelineRun.Builder
configurationOverrideDetails(PipelineConfigurationDetails configurationOverrideDetails)
PipelineRun.Builder
copy(PipelineRun model)
PipelineRun.Builder
createdBy(String createdBy)
The OCID of the user who created the pipeline run.PipelineRun.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.PipelineRun.Builder
displayName(String displayName)
A user-friendly display name for the resource.PipelineRun.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.PipelineRun.Builder
id(String id)
The OCID of the pipeline run.PipelineRun.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.PipelineRun.Builder
lifecycleState(PipelineRunLifecycleState lifecycleState)
The current state of the pipeline run.PipelineRun.Builder
logConfigurationOverrideDetails(PipelineLogConfigurationDetails logConfigurationOverrideDetails)
PipelineRun.Builder
logDetails(PipelineRunLogDetails logDetails)
PipelineRun.Builder
pipelineId(String pipelineId)
The OCID of the pipeline.PipelineRun.Builder
projectId(String projectId)
The OCID of the project to associate the pipeline run with.PipelineRun.Builder
stepOverrideDetails(List<PipelineStepOverrideDetails> stepOverrideDetails)
Array of step override details.PipelineRun.Builder
stepRuns(List<PipelineStepRun> stepRuns)
Array of StepRun object for each step.PipelineRun.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.PipelineRun.Builder
timeAccepted(Date timeAccepted)
The date and time the pipeline run was accepted in the timestamp format defined by RFC3339.PipelineRun.Builder
timeFinished(Date timeFinished)
The date and time the pipeline run request was finished in the timestamp format defined by RFC3339.PipelineRun.Builder
timeStarted(Date timeStarted)
The date and time the pipeline run request was started in the timestamp format defined by RFC3339.PipelineRun.Builder
timeUpdated(Date timeUpdated)
The date and time the pipeline run was updated in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
id
public PipelineRun.Builder id(String id)
The OCID of the pipeline run.- Parameters:
id
- the value to set- Returns:
- this builder
-
timeAccepted
public PipelineRun.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 PipelineRun.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
-
timeUpdated
public PipelineRun.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
-
timeFinished
public PipelineRun.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
-
createdBy
public PipelineRun.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 PipelineRun.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 PipelineRun.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 PipelineRun.Builder pipelineId(String pipelineId)
The OCID of the pipeline.- Parameters:
pipelineId
- the value to set- Returns:
- this builder
-
displayName
public PipelineRun.Builder displayName(String displayName)
A user-friendly display name for the resource.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
configurationDetails
public PipelineRun.Builder configurationDetails(PipelineConfigurationDetails configurationDetails)
-
configurationOverrideDetails
public PipelineRun.Builder configurationOverrideDetails(PipelineConfigurationDetails configurationOverrideDetails)
-
logConfigurationOverrideDetails
public PipelineRun.Builder logConfigurationOverrideDetails(PipelineLogConfigurationDetails logConfigurationOverrideDetails)
-
stepOverrideDetails
public PipelineRun.Builder stepOverrideDetails(List<PipelineStepOverrideDetails> stepOverrideDetails)
Array of step override details.Only Step Configuration is allowed to be overridden.
- Parameters:
stepOverrideDetails
- the value to set- Returns:
- this builder
-
logDetails
public PipelineRun.Builder logDetails(PipelineRunLogDetails logDetails)
-
stepRuns
public PipelineRun.Builder stepRuns(List<PipelineStepRun> stepRuns)
Array of StepRun object for each step.- Parameters:
stepRuns
- the value to set- Returns:
- this builder
-
lifecycleState
public PipelineRun.Builder lifecycleState(PipelineRunLifecycleState lifecycleState)
The current state of the pipeline run.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public PipelineRun.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 PipelineRun.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 PipelineRun.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 PipelineRun.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 PipelineRun build()
-
copy
public PipelineRun.Builder copy(PipelineRun model)
-
-