Interface ListQueuesResponse.Builder

  • Method Details

    • queues

      The list of queues associated with the cluster.

      Parameters:
      queues - The list of queues associated with the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queues

      The list of queues associated with the cluster.

      Parameters:
      queues - The list of queues associated with the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queues

      The list of queues associated with the cluster.

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

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

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

      ListQueuesResponse.Builder nextToken(String nextToken)

      The value of nextToken is a unique pagination token for each page of results returned. If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns an HTTP 400 InvalidToken error.

      Parameters:
      nextToken - The value of nextToken is a unique pagination token for each page of results returned. If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token returns an HTTP 400 InvalidToken error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.