public static class PipelineRun.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public PipelineRun.Builder id(String id)
The OCID of the pipeline run.
id
- the value to setpublic PipelineRun.Builder timeAccepted(Date timeAccepted)
The date and time the pipeline run was accepted in the timestamp format defined by RFC3339.
timeAccepted
- the value to setpublic PipelineRun.Builder timeStarted(Date timeStarted)
The date and time the pipeline run request was started in the timestamp format defined by RFC3339.
timeStarted
- the value to setpublic PipelineRun.Builder timeUpdated(Date timeUpdated)
The date and time the pipeline run was updated in the timestamp format defined by RFC3339.
timeUpdated
- the value to setpublic PipelineRun.Builder timeFinished(Date timeFinished)
The date and time the pipeline run request was finished in the timestamp format defined by RFC3339.
timeFinished
- the value to setpublic PipelineRun.Builder createdBy(String createdBy)
The OCID of the user who created the pipeline run.
createdBy
- the value to setpublic PipelineRun.Builder projectId(String projectId)
The OCID of the project to associate the pipeline run with.
projectId
- the value to setpublic PipelineRun.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the pipeline run.
compartmentId
- the value to setpublic PipelineRun.Builder pipelineId(String pipelineId)
The OCID of the pipeline.
pipelineId
- the value to setpublic PipelineRun.Builder displayName(String displayName)
A user-friendly display name for the resource.
displayName
- the value to setpublic PipelineRun.Builder configurationDetails(PipelineConfigurationDetails configurationDetails)
public PipelineRun.Builder configurationOverrideDetails(PipelineConfigurationDetails configurationOverrideDetails)
public PipelineRun.Builder logConfigurationOverrideDetails(PipelineLogConfigurationDetails logConfigurationOverrideDetails)
public PipelineRun.Builder stepOverrideDetails(List<PipelineStepOverrideDetails> stepOverrideDetails)
Array of step override details. Only Step Configuration is allowed to be overridden.
stepOverrideDetails
- the value to setpublic PipelineRun.Builder logDetails(PipelineRunLogDetails logDetails)
public PipelineRun.Builder stepRuns(List<PipelineStepRun> stepRuns)
Array of StepRun object for each step.
stepRuns
- the value to setpublic PipelineRun.Builder lifecycleState(PipelineRunLifecycleState lifecycleState)
The current state of the pipeline run.
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic PipelineRun build()
public PipelineRun.Builder copy(PipelineRun model)
Copyright © 2016–2024. All rights reserved.