Interface ListTopicsResponse.Builder

  • Method Details

    • topics

      List containing topics info.

      Parameters:
      topics -

      List containing topics info.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topics

      List containing topics info.

      Parameters:
      topics -

      List containing topics info.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topics

      List containing topics info.

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

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

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

      ListTopicsResponse.Builder nextToken(String nextToken)

      The paginated results marker. When the result of a ListTopics operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.

      Parameters:
      nextToken -

      The paginated results marker. When the result of a ListTopics operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.

      Returns:
      Returns a reference to this object so that method calls can be chained together.