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