Interface GetStagesResponse.Builder

    • Method Detail

      • item

        GetStagesResponse.Builder item​(Collection<Stage> item)

        The current page of elements from this collection.

        Parameters:
        item - The current page of elements from this collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • item

        GetStagesResponse.Builder item​(Stage... item)

        The current page of elements from this collection.

        Parameters:
        item - The current page of elements from this collection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • item

        GetStagesResponse.Builder item​(Consumer<Stage.Builder>... item)

        The current page of elements from this collection.

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

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

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