Interface ListPipelineVersionsResponse.Builder

  • Method Details

    • pipelineVersionSummaries

      ListPipelineVersionsResponse.Builder pipelineVersionSummaries(Collection<PipelineVersionSummary> pipelineVersionSummaries)

      Contains a sorted list of pipeline version summary objects matching the specified filters. Each version summary includes the pipeline version ID, the creation date, and the last pipeline execution created from that version. This list can be empty.

      Parameters:
      pipelineVersionSummaries - Contains a sorted list of pipeline version summary objects matching the specified filters. Each version summary includes the pipeline version ID, the creation date, and the last pipeline execution created from that version. This list can be empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pipelineVersionSummaries

      ListPipelineVersionsResponse.Builder pipelineVersionSummaries(PipelineVersionSummary... pipelineVersionSummaries)

      Contains a sorted list of pipeline version summary objects matching the specified filters. Each version summary includes the pipeline version ID, the creation date, and the last pipeline execution created from that version. This list can be empty.

      Parameters:
      pipelineVersionSummaries - Contains a sorted list of pipeline version summary objects matching the specified filters. Each version summary includes the pipeline version ID, the creation date, and the last pipeline execution created from that version. This list can be empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pipelineVersionSummaries

      ListPipelineVersionsResponse.Builder pipelineVersionSummaries(Consumer<PipelineVersionSummary.Builder>... pipelineVersionSummaries)

      Contains a sorted list of pipeline version summary objects matching the specified filters. Each version summary includes the pipeline version ID, the creation date, and the last pipeline execution created from that version. This list can be empty.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pipelineVersionSummaries(List<PipelineVersionSummary>).

      Parameters:
      pipelineVersionSummaries - a consumer that will call methods on PipelineVersionSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      If the result of the previous ListPipelineVersions request was truncated, the response includes a NextToken. To retrieve the next set of pipeline versions, use this token in your next request.

      Parameters:
      nextToken - If the result of the previous ListPipelineVersions request was truncated, the response includes a NextToken. To retrieve the next set of pipeline versions, use this token in your next request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.