public static interface ListNotificationsResponse.Builder extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationsResponse.Builder,ListNotificationsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListNotificationsResponse.Builder |
nextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
|
ListNotificationsResponse.Builder |
notifications(Collection<Notification> notifications)
The returned list of notifications.
|
ListNotificationsResponse.Builder |
notifications(Consumer<Notification.Builder>... notifications)
The returned list of notifications.
|
ListNotificationsResponse.Builder |
notifications(Notification... notifications)
The returned list of notifications.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListNotificationsResponse.Builder notifications(Collection<Notification> notifications)
The returned list of notifications.
notifications - The returned list of notifications.ListNotificationsResponse.Builder notifications(Notification... notifications)
The returned list of notifications.
notifications - The returned list of notifications.ListNotificationsResponse.Builder notifications(Consumer<Notification.Builder>... notifications)
The returned list of notifications.
This is a convenience method that creates an instance of theNotification.Builder avoiding the need to create
one manually via Notification.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #notifications(List.
notifications - a consumer that will call methods on
Notification.Builder#notifications(java.util.Collection) ListNotificationsResponse.Builder nextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
nextToken - The pagination token that's used to fetch the next set of results.Copyright © 2023. All rights reserved.