Interface PipelineExecution.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PipelineExecution.Builder,
,PipelineExecution> SdkBuilder<PipelineExecution.Builder,
,PipelineExecution> SdkPojo
- Enclosing class:
PipelineExecution
-
Method Summary
Modifier and TypeMethodDescriptionartifactRevisions
(Collection<ArtifactRevision> artifactRevisions) A list ofArtifactRevision
objects included in a pipeline execution.artifactRevisions
(Consumer<ArtifactRevision.Builder>... artifactRevisions) A list ofArtifactRevision
objects included in a pipeline execution.artifactRevisions
(ArtifactRevision... artifactRevisions) A list ofArtifactRevision
objects included in a pipeline execution.executionMode
(String executionMode) The method that the pipeline will use to handle multiple executions.executionMode
(ExecutionMode executionMode) The method that the pipeline will use to handle multiple executions.executionType
(String executionType) The type of the pipeline execution.executionType
(ExecutionType executionType) The type of the pipeline execution.pipelineExecutionId
(String pipelineExecutionId) The ID of the pipeline execution.pipelineName
(String pipelineName) The name of the pipeline with the specified pipeline execution.pipelineVersion
(Integer pipelineVersion) The version number of the pipeline with the specified pipeline execution.default PipelineExecution.Builder
rollbackMetadata
(Consumer<PipelineRollbackMetadata.Builder> rollbackMetadata) The metadata about the execution pertaining to stage rollback.rollbackMetadata
(PipelineRollbackMetadata rollbackMetadata) The metadata about the execution pertaining to stage rollback.The status of the pipeline execution.status
(PipelineExecutionStatus status) The status of the pipeline execution.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.trigger
(ExecutionTrigger trigger) Sets the value of the Trigger property for this object.variables
(Collection<ResolvedPipelineVariable> variables) A list of pipeline variables used for the pipeline execution.variables
(Consumer<ResolvedPipelineVariable.Builder>... variables) A list of pipeline variables used for the pipeline execution.variables
(ResolvedPipelineVariable... variables) A list of pipeline variables used for the pipeline execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
pipelineName
The name of the pipeline with the specified pipeline execution.
- Parameters:
pipelineName
- The name of the pipeline with the specified pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineVersion
The version number of the pipeline with the specified pipeline execution.
- Parameters:
pipelineVersion
- The version number of the pipeline with the specified pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineExecutionId
The ID of the pipeline execution.
- Parameters:
pipelineExecutionId
- The ID of the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
statusSummary
A summary that contains a description of the pipeline execution status.
- Parameters:
statusSummary
- A summary that contains a description of the pipeline execution status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactRevisions
A list of
ArtifactRevision
objects included in a pipeline execution.- Parameters:
artifactRevisions
- A list ofArtifactRevision
objects included in a pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactRevisions
A list of
ArtifactRevision
objects included in a pipeline execution.- Parameters:
artifactRevisions
- A list ofArtifactRevision
objects included in a pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifactRevisions
PipelineExecution.Builder artifactRevisions(Consumer<ArtifactRevision.Builder>... artifactRevisions) A list of
This is a convenience method that creates an instance of theArtifactRevision
objects included in a pipeline execution.ArtifactRevision.Builder
avoiding the need to create one manually viaArtifactRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toartifactRevisions(List<ArtifactRevision>)
.- Parameters:
artifactRevisions
- a consumer that will call methods onArtifactRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
variables
A list of pipeline variables used for the pipeline execution.
- Parameters:
variables
- A list of pipeline variables used for the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
A list of pipeline variables used for the pipeline execution.
- Parameters:
variables
- A list of pipeline variables used for the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaResolvedPipelineVariable.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovariables(List<ResolvedPipelineVariable>)
.- Parameters:
variables
- a consumer that will call methods onResolvedPipelineVariable.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trigger
Sets the value of the Trigger property for this object.- Parameters:
trigger
- The new value for the Trigger property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trigger
Sets the value of the Trigger property for this object. This is a convenience method that creates an instance of theExecutionTrigger.Builder
avoiding the need to create one manually viaExecutionTrigger.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrigger(ExecutionTrigger)
.- Parameters:
trigger
- a consumer that will call methods onExecutionTrigger.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionMode
The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
- Parameters:
executionMode
- The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionMode
The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
- Parameters:
executionMode
- The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionType
The type of the pipeline execution.
- Parameters:
executionType
- The type of the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionType
The type of the pipeline execution.
- Parameters:
executionType
- The type of the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rollbackMetadata
The metadata about the execution pertaining to stage rollback.
- Parameters:
rollbackMetadata
- The metadata about the execution pertaining to stage rollback.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollbackMetadata
default PipelineExecution.Builder rollbackMetadata(Consumer<PipelineRollbackMetadata.Builder> rollbackMetadata) The metadata about the execution pertaining to stage rollback.
This is a convenience method that creates an instance of thePipelineRollbackMetadata.Builder
avoiding the need to create one manually viaPipelineRollbackMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torollbackMetadata(PipelineRollbackMetadata)
.- Parameters:
rollbackMetadata
- a consumer that will call methods onPipelineRollbackMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-