Interface SearchTopicsResponse.Builder

  • Method Details

    • topicSummaryList

      SearchTopicsResponse.Builder topicSummaryList(Collection<TopicSummary> topicSummaryList)

      A list of topic summaries that is returned by the search topic request.

      Parameters:
      topicSummaryList - A list of topic summaries that is returned by the search topic request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topicSummaryList

      SearchTopicsResponse.Builder topicSummaryList(TopicSummary... topicSummaryList)

      A list of topic summaries that is returned by the search topic request.

      Parameters:
      topicSummaryList - A list of topic summaries that is returned by the search topic request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topicSummaryList

      SearchTopicsResponse.Builder topicSummaryList(Consumer<TopicSummary.Builder>... topicSummaryList)

      A list of topic summaries that is returned by the search topic request.

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

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

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

      SearchTopicsResponse.Builder nextToken(String nextToken)

      The token for the next set of results, or null if there are no more results.

      Parameters:
      nextToken - The token for the next set of results, or null if there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The HTTP status of the request.

      Parameters:
      status - The HTTP status of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestId

      SearchTopicsResponse.Builder requestId(String requestId)

      The Amazon Web Services request ID for this operation.

      Parameters:
      requestId - The Amazon Web Services request ID for this operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.