Interface ListArchivesResponse.Builder

    • Method Detail

      • archives

        ListArchivesResponse.Builder archives​(Collection<Archive> archives)

        An array of Archive objects that include details about an archive.

        Parameters:
        archives - An array of Archive objects that include details about an archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • archives

        ListArchivesResponse.Builder archives​(Archive... archives)

        An array of Archive objects that include details about an archive.

        Parameters:
        archives - An array of Archive objects that include details about an archive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • archives

        ListArchivesResponse.Builder archives​(Consumer<Archive.Builder>... archives)

        An array of Archive objects that include details about an archive.

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

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

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

        ListArchivesResponse.Builder nextToken​(String nextToken)

        The token returned by a previous call to retrieve the next set of results.

        Parameters:
        nextToken - The token returned by a previous call to retrieve the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.