public static interface PipelineExecution.Builder extends SdkPojo, CopyableBuilder<PipelineExecution.Builder,PipelineExecution>
| Modifier and Type | Method and Description |
|---|---|
PipelineExecution.Builder |
artifactRevisions(ArtifactRevision... artifactRevisions)
A list of
ArtifactRevision objects included in a pipeline execution. |
PipelineExecution.Builder |
artifactRevisions(Collection<ArtifactRevision> artifactRevisions)
A list of
ArtifactRevision objects included in a pipeline execution. |
PipelineExecution.Builder |
artifactRevisions(Consumer<ArtifactRevision.Builder>... artifactRevisions)
A list of
ArtifactRevision objects included in a pipeline execution. |
PipelineExecution.Builder |
pipelineExecutionId(String pipelineExecutionId)
The ID of the pipeline execution.
|
PipelineExecution.Builder |
pipelineName(String pipelineName)
The name of the pipeline with the specified pipeline execution.
|
PipelineExecution.Builder |
pipelineVersion(Integer pipelineVersion)
The version number of the pipeline with the specified pipeline execution.
|
PipelineExecution.Builder |
status(PipelineExecutionStatus status)
The status of the pipeline execution.
|
PipelineExecution.Builder |
status(String status)
The status of the pipeline execution.
|
PipelineExecution.Builder |
statusSummary(String statusSummary)
A summary that contains a description of the pipeline execution status.
|
default PipelineExecution.Builder |
trigger(Consumer<ExecutionTrigger.Builder> trigger)
Sets the value of the Trigger property for this object.
|
PipelineExecution.Builder |
trigger(ExecutionTrigger trigger)
Sets the value of the Trigger property for this object.
|
PipelineExecution.Builder |
variables(Collection<ResolvedPipelineVariable> variables)
A list of pipeline variables used for the pipeline execution.
|
PipelineExecution.Builder |
variables(Consumer<ResolvedPipelineVariable.Builder>... variables)
A list of pipeline variables used for the pipeline execution.
|
PipelineExecution.Builder |
variables(ResolvedPipelineVariable... variables)
A list of pipeline variables used for the pipeline execution.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPipelineExecution.Builder pipelineName(String pipelineName)
The name of the pipeline with the specified pipeline execution.
pipelineName - The name of the pipeline with the specified pipeline execution.PipelineExecution.Builder pipelineVersion(Integer pipelineVersion)
The version number of the pipeline with the specified pipeline execution.
pipelineVersion - The version number of the pipeline with the specified pipeline execution.PipelineExecution.Builder pipelineExecutionId(String pipelineExecutionId)
The ID of the pipeline execution.
pipelineExecutionId - The ID of the pipeline execution.PipelineExecution.Builder status(String status)
The status of the pipeline execution.
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
InProgress: The pipeline execution is currently running.
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
Succeeded: The pipeline execution was completed successfully.
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
Failed: The pipeline execution was not completed successfully.
status - The status of the pipeline execution.
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
InProgress: The pipeline execution is currently running.
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
Succeeded: The pipeline execution was completed successfully.
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
Failed: The pipeline execution was not completed successfully.
PipelineExecutionStatus,
PipelineExecutionStatusPipelineExecution.Builder status(PipelineExecutionStatus status)
The status of the pipeline execution.
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
InProgress: The pipeline execution is currently running.
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
Succeeded: The pipeline execution was completed successfully.
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
Failed: The pipeline execution was not completed successfully.
status - The status of the pipeline execution.
Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.
InProgress: The pipeline execution is currently running.
Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.
Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.
Succeeded: The pipeline execution was completed successfully.
Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.
Failed: The pipeline execution was not completed successfully.
PipelineExecutionStatus,
PipelineExecutionStatusPipelineExecution.Builder statusSummary(String statusSummary)
A summary that contains a description of the pipeline execution status.
statusSummary - A summary that contains a description of the pipeline execution status.PipelineExecution.Builder artifactRevisions(Collection<ArtifactRevision> artifactRevisions)
A list of ArtifactRevision objects included in a pipeline execution.
artifactRevisions - A list of ArtifactRevision objects included in a pipeline execution.PipelineExecution.Builder artifactRevisions(ArtifactRevision... artifactRevisions)
A list of ArtifactRevision objects included in a pipeline execution.
artifactRevisions - A list of ArtifactRevision objects included in a pipeline execution.PipelineExecution.Builder artifactRevisions(Consumer<ArtifactRevision.Builder>... artifactRevisions)
A list of ArtifactRevision objects included in a pipeline execution.
ArtifactRevision.Builder avoiding the need to
create one manually via ArtifactRevision.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #artifactRevisions(List.
artifactRevisions - a consumer that will call methods on
ArtifactRevision.Builder#artifactRevisions(java.util.Collection) PipelineExecution.Builder trigger(ExecutionTrigger trigger)
trigger - The new value for the Trigger property for this object.default PipelineExecution.Builder trigger(Consumer<ExecutionTrigger.Builder> trigger)
ExecutionTrigger.Builder avoiding the
need to create one manually via ExecutionTrigger.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to trigger(ExecutionTrigger).
trigger - a consumer that will call methods on ExecutionTrigger.Buildertrigger(ExecutionTrigger)PipelineExecution.Builder variables(Collection<ResolvedPipelineVariable> variables)
A list of pipeline variables used for the pipeline execution.
variables - A list of pipeline variables used for the pipeline execution.PipelineExecution.Builder variables(ResolvedPipelineVariable... variables)
A list of pipeline variables used for the pipeline execution.
variables - A list of pipeline variables used for the pipeline execution.PipelineExecution.Builder variables(Consumer<ResolvedPipelineVariable.Builder>... variables)
A list of pipeline variables used for the pipeline execution.
This is a convenience method that creates an instance of theResolvedPipelineVariable.Builder avoiding the need
to create one manually via
ResolvedPipelineVariable.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #variables(List.
variables - a consumer that will call methods on
ResolvedPipelineVariable.Builder#variables(java.util.Collection) Copyright © 2023. All rights reserved.