public static interface ListTopicsResponse.Builder extends SnsResponse.Builder, SdkPojo, CopyableBuilder<ListTopicsResponse.Builder,ListTopicsResponse>
Modifier and Type | Method and Description |
---|---|
ListTopicsResponse.Builder |
nextToken(String nextToken)
Token to pass along to the next
ListTopics request. |
ListTopicsResponse.Builder |
topics(Collection<Topic> topics)
A list of topic ARNs.
|
ListTopicsResponse.Builder |
topics(Consumer<Topic.Builder>... topics)
A list of topic ARNs.
|
ListTopicsResponse.Builder |
topics(Topic... topics)
A list of topic ARNs.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListTopicsResponse.Builder topics(Collection<Topic> topics)
A list of topic ARNs.
topics
- A list of topic ARNs.ListTopicsResponse.Builder topics(Topic... topics)
A list of topic ARNs.
topics
- A list of topic ARNs.ListTopicsResponse.Builder topics(Consumer<Topic.Builder>... topics)
A list of topic ARNs.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #topics(List)
.topics
- a consumer that will call methods on List.Builder
#topics(List)
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.
nextToken
- Token to pass along to the next ListTopics
request. This element is returned if there are
additional topics to retrieve.Copyright © 2022. All rights reserved.