Interface GetPipelineStateResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodePipelineResponse.Builder, CopyableBuilder<GetPipelineStateResponse.Builder,GetPipelineStateResponse>, SdkBuilder<GetPipelineStateResponse.Builder,GetPipelineStateResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetPipelineStateResponse

public static interface GetPipelineStateResponse.Builder extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<GetPipelineStateResponse.Builder,GetPipelineStateResponse>
  • Method Details

    • 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

      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

      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<StageState>).

      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:
    • 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

      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.