Interface PipelineExecutionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PipelineExecutionSummary.Builder,,PipelineExecutionSummary> SdkBuilder<PipelineExecutionSummary.Builder,,PipelineExecutionSummary> SdkPojo
- Enclosing class:
PipelineExecutionSummary
-
Method Summary
Modifier and TypeMethodDescriptionlastUpdateTime(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.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.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, 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:
-
-
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:
-