public static interface ListSubscriptionsByTopicResponse.Builder extends SnsResponse.Builder, SdkPojo, CopyableBuilder<ListSubscriptionsByTopicResponse.Builder,ListSubscriptionsByTopicResponse>
Modifier and Type | Method and Description |
---|---|
ListSubscriptionsByTopicResponse.Builder |
nextToken(String nextToken)
Token to pass along to the next
ListSubscriptionsByTopic request. |
ListSubscriptionsByTopicResponse.Builder |
subscriptions(Collection<Subscription> subscriptions)
A list of subscriptions.
|
ListSubscriptionsByTopicResponse.Builder |
subscriptions(Consumer<Subscription.Builder>... subscriptions)
A list of subscriptions.
|
ListSubscriptionsByTopicResponse.Builder |
subscriptions(Subscription... subscriptions)
A list of subscriptions.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListSubscriptionsByTopicResponse.Builder subscriptions(Collection<Subscription> subscriptions)
A list of subscriptions.
subscriptions
- A list of subscriptions.ListSubscriptionsByTopicResponse.Builder subscriptions(Subscription... subscriptions)
A list of subscriptions.
subscriptions
- A list of subscriptions.ListSubscriptionsByTopicResponse.Builder subscriptions(Consumer<Subscription.Builder>... subscriptions)
A list of subscriptions.
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 #subscriptions(List)
.subscriptions
- a consumer that will call methods on List.Builder
#subscriptions(List)
ListSubscriptionsByTopicResponse.Builder nextToken(String nextToken)
Token to pass along to the next ListSubscriptionsByTopic
request. This element is returned if
there are more subscriptions to retrieve.
nextToken
- Token to pass along to the next ListSubscriptionsByTopic
request. This element is
returned if there are more subscriptions to retrieve.Copyright © 2022. All rights reserved.