Interface PipelineExecutionSummary.Builder

    • 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.
      • trigger

        PipelineExecutionSummary.Builder trigger​(ExecutionTrigger trigger)

        The interaction or event that started a pipeline execution, such as automated change detection or a StartPipelineExecution API call.

        Parameters:
        trigger - The interaction or event that started a pipeline execution, such as automated change detection or a StartPipelineExecution API call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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.
      • 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
      • 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.