Interface GetPipelineStateResponse.Builder

    • Method Detail

      • pipelineName

        GetPipelineStateResponse.Builder pipelineName​(String pipelineName)

        The name of the pipeline for which you want to get the state.

        Parameters:
        pipelineName - The name of the pipeline for which you want to get the state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pipelineVersion

        GetPipelineStateResponse.Builder pipelineVersion​(Integer pipelineVersion)

        The version number of the pipeline.

        A newly created pipeline is always assigned a version number of 1.

        Parameters:
        pipelineVersion - The version number of the pipeline.

        A newly created pipeline is always assigned a version number of 1.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stageStates

        GetPipelineStateResponse.Builder stageStates​(Collection<StageState> stageStates)

        A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.

        Parameters:
        stageStates - A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stageStates

        GetPipelineStateResponse.Builder stageStates​(StageState... stageStates)

        A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.

        Parameters:
        stageStates - A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stageStates

        GetPipelineStateResponse.Builder stageStates​(Consumer<StageState.Builder>... stageStates)

        A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.

        This is a convenience method that creates an instance of the StageState.Builder avoiding the need to create one manually via StageState.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #stageStates(List).

        Parameters:
        stageStates - a consumer that will call methods on StageState.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #stageStates(java.util.Collection)
      • created

        GetPipelineStateResponse.Builder created​(Instant created)

        The date and time the pipeline was created, in timestamp format.

        Parameters:
        created - The date and time the pipeline was created, in timestamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updated

        GetPipelineStateResponse.Builder updated​(Instant updated)

        The date and time the pipeline was last updated, in timestamp format.

        Parameters:
        updated - The date and time the pipeline was last updated, in timestamp format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.