Interface DescribeTapesResponse.Builder

    • Method Detail

      • tapes

        DescribeTapesResponse.Builder tapes​(Collection<Tape> tapes)

        An array of virtual tape descriptions.

        Parameters:
        tapes - An array of virtual tape descriptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tapes

        DescribeTapesResponse.Builder tapes​(Tape... tapes)

        An array of virtual tape descriptions.

        Parameters:
        tapes - An array of virtual tape descriptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tapes

        DescribeTapesResponse.Builder tapes​(Consumer<Tape.Builder>... tapes)

        An array of virtual tape descriptions.

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

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

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

        DescribeTapesResponse.Builder marker​(String marker)

        An opaque string that can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.

        If a response does not contain a marker, then there are no more results to be retrieved.

        Parameters:
        marker - An opaque string that can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.

        If a response does not contain a marker, then there are no more results to be retrieved.

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