Interface SearchQueuesResponse.Builder

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

public static interface SearchQueuesResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchQueuesResponse.Builder,SearchQueuesResponse>
  • Method Details

    • queues

      Information about the queues.

      Parameters:
      queues - Information about the queues.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queues

      Information about the queues.

      Parameters:
      queues - Information about the queues.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queues

      Information about the queues.

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

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

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

      SearchQueuesResponse.Builder nextToken(String nextToken)

      If there are additional results, this is the token for the next set of results.

      Parameters:
      nextToken - If there are additional results, this is the token for the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approximateTotalCount

      SearchQueuesResponse.Builder approximateTotalCount(Long approximateTotalCount)

      The total number of queues which matched your search query.

      Parameters:
      approximateTotalCount - The total number of queues which matched your search query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.