Interface PipelineExecutionSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PipelineExecutionSummary.Builder,PipelineExecutionSummary>,SdkBuilder<PipelineExecutionSummary.Builder,PipelineExecutionSummary>,SdkPojo
- Enclosing class:
- PipelineExecutionSummary
public static interface PipelineExecutionSummary.Builder extends SdkPojo, CopyableBuilder<PipelineExecutionSummary.Builder,PipelineExecutionSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PipelineExecutionSummary.BuilderexecutionMode(String executionMode)The method that the pipeline will use to handle multiple executions.PipelineExecutionSummary.BuilderexecutionMode(ExecutionMode executionMode)The method that the pipeline will use to handle multiple executions.PipelineExecutionSummary.BuilderexecutionType(String executionType)Type of the pipeline execution.PipelineExecutionSummary.BuilderexecutionType(ExecutionType executionType)Type of the pipeline execution.PipelineExecutionSummary.BuilderlastUpdateTime(Instant lastUpdateTime)The date and time of the last change to the pipeline execution, in timestamp format.PipelineExecutionSummary.BuilderpipelineExecutionId(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.PipelineExecutionSummary.BuilderrollbackMetadata(PipelineRollbackMetadata rollbackMetadata)The metadata for the stage execution to be rolled back.PipelineExecutionSummary.BuildersourceRevisions(Collection<SourceRevision> sourceRevisions)A list of the source artifact revisions that initiated a pipeline execution.PipelineExecutionSummary.BuildersourceRevisions(Consumer<SourceRevision.Builder>... sourceRevisions)A list of the source artifact revisions that initiated a pipeline execution.PipelineExecutionSummary.BuildersourceRevisions(SourceRevision... sourceRevisions)A list of the source artifact revisions that initiated a pipeline execution.PipelineExecutionSummary.BuilderstartTime(Instant startTime)The date and time when the pipeline execution began, in timestamp format.PipelineExecutionSummary.Builderstatus(String status)The status of the pipeline execution.PipelineExecutionSummary.Builderstatus(PipelineExecutionStatus status)The status of the pipeline execution.PipelineExecutionSummary.BuilderstatusSummary(String statusSummary)Status summary for the pipeline.default PipelineExecutionSummary.BuilderstopTrigger(Consumer<StopExecutionTrigger.Builder> stopTrigger)The interaction that stopped a pipeline execution.PipelineExecutionSummary.BuilderstopTrigger(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.PipelineExecutionSummary.Buildertrigger(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
pipelineExecutionId
PipelineExecutionSummary.Builder pipelineExecutionId(String 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
PipelineExecutionSummary.Builder status(String 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:
PipelineExecutionStatus,PipelineExecutionStatus
-
-
status
PipelineExecutionSummary.Builder status(PipelineExecutionStatus 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:
PipelineExecutionStatus,PipelineExecutionStatus
-
-
statusSummary
PipelineExecutionSummary.Builder statusSummary(String 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
PipelineExecutionSummary.Builder startTime(Instant 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
PipelineExecutionSummary.Builder lastUpdateTime(Instant 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
PipelineExecutionSummary.Builder sourceRevisions(Collection<SourceRevision> 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(SourceRevision... 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 to#sourceRevisions(List.) - 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:
#sourceRevisions(java.util.Collection)
-
trigger
PipelineExecutionSummary.Builder trigger(ExecutionTrigger 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
default PipelineExecutionSummary.Builder trigger(Consumer<ExecutionTrigger.Builder> 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:
trigger(ExecutionTrigger)
-
stopTrigger
PipelineExecutionSummary.Builder stopTrigger(StopExecutionTrigger 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:
stopTrigger(StopExecutionTrigger)
-
executionMode
PipelineExecutionSummary.Builder executionMode(String 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,ExecutionMode
-
executionMode
PipelineExecutionSummary.Builder executionMode(ExecutionMode 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,ExecutionMode
-
executionType
PipelineExecutionSummary.Builder executionType(String 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,ExecutionType
-
executionType
PipelineExecutionSummary.Builder executionType(ExecutionType 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,ExecutionType
-
rollbackMetadata
PipelineExecutionSummary.Builder rollbackMetadata(PipelineRollbackMetadata 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:
rollbackMetadata(PipelineRollbackMetadata)
-
-