Interface ListArchivesResponse.Builder

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

public static interface ListArchivesResponse.Builder extends EventBridgeResponse.Builder, SdkPojo, CopyableBuilder<ListArchivesResponse.Builder,ListArchivesResponse>
  • Method Details

    • 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

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

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