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 method that creates an instance of theTopic.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
.
topics
- a consumer that will call methods on Topic.Builder
#topics(java.util.Collection)
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 © 2023. All rights reserved.