public static interface PipelineExecution.Builder extends 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 that was executed.
|
PipelineExecution.Builder |
pipelineVersion(Integer pipelineVersion)
The version number of the pipeline that was executed.
|
PipelineExecution.Builder |
status(PipelineExecutionStatus status)
The status of the pipeline execution.
|
PipelineExecution.Builder |
status(String status)
The status of the pipeline execution.
|
copy
applyMutation, build
PipelineExecution.Builder pipelineName(String pipelineName)
The name of the pipeline that was executed.
pipelineName
- The name of the pipeline that was executed.PipelineExecution.Builder pipelineVersion(Integer pipelineVersion)
The version number of the pipeline that was executed.
pipelineVersion
- The version number of the pipeline that was executed.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.
InProgress: The pipeline execution is currently running.
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.
Failed: The pipeline execution was not completed successfully.
status
- The status of the pipeline execution.
InProgress: The pipeline execution is currently running.
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.
Failed: The pipeline execution was not completed successfully.
PipelineExecutionStatus
,
PipelineExecutionStatus
PipelineExecution.Builder status(PipelineExecutionStatus status)
The status of the pipeline execution.
InProgress: The pipeline execution is currently running.
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.
Failed: The pipeline execution was not completed successfully.
status
- The status of the pipeline execution.
InProgress: The pipeline execution is currently running.
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.
Failed: The pipeline execution was not completed successfully.
PipelineExecutionStatus
,
PipelineExecutionStatus
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.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #artifactRevisions(List)
.artifactRevisions
- a consumer that will call methods on List.Builder
#artifactRevisions(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.