Interface PipelineExecutionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PipelineExecutionSummary.Builder,,PipelineExecutionSummary> SdkBuilder<PipelineExecutionSummary.Builder,,PipelineExecutionSummary> SdkPojo
- Enclosing class:
PipelineExecutionSummary
-
Method Summary
Modifier and TypeMethodDescriptionexecutionMode(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) Type of the pipeline execution.executionType(ExecutionType executionType) Type of the pipeline execution.lastUpdateTime(Instant lastUpdateTime) The date and time of the last change to the pipeline execution, in timestamp format.pipelineExecutionId(String pipelineExecutionId) The ID of the pipeline execution.default PipelineExecutionSummary.BuilderrollbackMetadata(Consumer<PipelineRollbackMetadata.Builder> rollbackMetadata) The metadata for the stage execution to be rolled back.rollbackMetadata(PipelineRollbackMetadata rollbackMetadata) The metadata for the stage execution to be rolled back.sourceRevisions(Collection<SourceRevision> sourceRevisions) A list of the source artifact revisions that initiated a pipeline execution.sourceRevisions(Consumer<SourceRevision.Builder>... sourceRevisions) A list of the source artifact revisions that initiated a pipeline execution.sourceRevisions(SourceRevision... sourceRevisions) A list of the source artifact revisions that initiated a pipeline execution.The date and time when the pipeline execution began, in timestamp format.The status of the pipeline execution.status(PipelineExecutionStatus status) The status of the pipeline execution.statusSummary(String statusSummary) Status summary for the pipeline.default PipelineExecutionSummary.BuilderstopTrigger(Consumer<StopExecutionTrigger.Builder> stopTrigger) The interaction that stopped a pipeline execution.stopTrigger(StopExecutionTrigger stopTrigger) The interaction that stopped a pipeline execution.default PipelineExecutionSummary.Buildertrigger(Consumer<ExecutionTrigger.Builder> trigger) The interaction or event that started a pipeline execution, such as automated change detection or aStartPipelineExecutionAPI call.trigger(ExecutionTrigger trigger) The interaction or event that started a pipeline execution, such as automated change detection or aStartPipelineExecutionAPI call.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
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.-
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.
-
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.-
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
Status summary for the pipeline.
- Parameters:
statusSummary- Status summary for the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The date and time when the pipeline execution began, in timestamp format.
- Parameters:
startTime- The date and time when the pipeline execution began, in timestamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTime
The date and time of the last change to the pipeline execution, in timestamp format.
- Parameters:
lastUpdateTime- The date and time of the last change to the pipeline execution, in timestamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRevisions
A list of the source artifact revisions that initiated a pipeline execution.
- Parameters:
sourceRevisions- A list of the source artifact revisions that initiated a pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRevisions
A list of the source artifact revisions that initiated a pipeline execution.
- Parameters:
sourceRevisions- A list of the source artifact revisions that initiated a pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRevisions
PipelineExecutionSummary.Builder sourceRevisions(Consumer<SourceRevision.Builder>... sourceRevisions) A list of the source artifact revisions that initiated a pipeline execution.
This is a convenience method that creates an instance of theSourceRevision.Builderavoiding the need to create one manually viaSourceRevision.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceRevisions(List<SourceRevision>).- Parameters:
sourceRevisions- a consumer that will call methods onSourceRevision.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trigger
The interaction or event that started a pipeline execution, such as automated change detection or a
StartPipelineExecutionAPI call.- Parameters:
trigger- The interaction or event that started a pipeline execution, such as automated change detection or aStartPipelineExecutionAPI call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trigger
The interaction or event that started a pipeline execution, such as automated change detection or a
This is a convenience method that creates an instance of theStartPipelineExecutionAPI call.ExecutionTrigger.Builderavoiding the need to create one manually viaExecutionTrigger.builder().When the
Consumercompletes,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:
-
stopTrigger
The interaction that stopped a pipeline execution.
- Parameters:
stopTrigger- The interaction that stopped a pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopTrigger
default PipelineExecutionSummary.Builder stopTrigger(Consumer<StopExecutionTrigger.Builder> stopTrigger) The interaction that stopped a pipeline execution.
This is a convenience method that creates an instance of theStopExecutionTrigger.Builderavoiding the need to create one manually viaStopExecutionTrigger.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostopTrigger(StopExecutionTrigger).- Parameters:
stopTrigger- a consumer that will call methods onStopExecutionTrigger.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
Type of the pipeline execution.
- Parameters:
executionType- Type of the pipeline execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionType
Type of the pipeline execution.
- Parameters:
executionType- 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 for the stage execution to be rolled back.
- Parameters:
rollbackMetadata- The metadata for the stage execution to be rolled back.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollbackMetadata
default PipelineExecutionSummary.Builder rollbackMetadata(Consumer<PipelineRollbackMetadata.Builder> rollbackMetadata) The metadata for the stage execution to be rolled back.
This is a convenience method that creates an instance of thePipelineRollbackMetadata.Builderavoiding the need to create one manually viaPipelineRollbackMetadata.builder().When the
Consumercompletes,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:
-