Interface ListTopicsResponse.Builder

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

public static interface ListTopicsResponse.Builder extends SnsResponse.Builder, SdkPojo, CopyableBuilder<ListTopicsResponse.Builder,ListTopicsResponse>
  • Method Details

    • topics

      A list of topic ARNs.

      Parameters:
      topics - A list of topic ARNs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topics

      ListTopicsResponse.Builder topics(Topic... topics)

      A list of topic ARNs.

      Parameters:
      topics - A list of topic ARNs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • topics

      A list of topic ARNs.

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

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

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

      ListTopicsResponse.Builder nextToken(String nextToken)

      Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.

      Parameters:
      nextToken - Token to pass along to the next ListTopics request. This element is returned if there are additional topics to retrieve.
      Returns:
      Returns a reference to this object so that method calls can be chained together.