public static interface ListNotificationsResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationsResponse.Builder,ListNotificationsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListNotificationsResponse.Builder |
nextToken(String nextToken)
When the number of notifications is greater than the default value for the
MaxResults parameter,
or if you explicitly specify a value for MaxResults that is less than the number of
notifications, the response includes a pagination token named NextToken. |
ListNotificationsResponse.Builder |
notifications(Collection<NotificationOutput> notifications)
The results of the
ListNotifications action. |
ListNotificationsResponse.Builder |
notifications(Consumer<NotificationOutput.Builder>... notifications)
The results of the
ListNotifications action. |
ListNotificationsResponse.Builder |
notifications(NotificationOutput... notifications)
The results of the
ListNotifications action. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListNotificationsResponse.Builder nextToken(String nextToken)
When the number of notifications is greater than the default value for the MaxResults parameter,
or if you explicitly specify a value for MaxResults that is less than the number of
notifications, the response includes a pagination token named NextToken. You can specify this
NextToken value in a subsequent call to ListNotifications to list the next set of
notifications.
nextToken - When the number of notifications is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the
number of notifications, the response includes a pagination token named NextToken. You
can specify this NextToken value in a subsequent call to ListNotifications
to list the next set of notifications.ListNotificationsResponse.Builder notifications(Collection<NotificationOutput> notifications)
The results of the ListNotifications action.
notifications - The results of the ListNotifications action.ListNotificationsResponse.Builder notifications(NotificationOutput... notifications)
The results of the ListNotifications action.
notifications - The results of the ListNotifications action.ListNotificationsResponse.Builder notifications(Consumer<NotificationOutput.Builder>... notifications)
The results of the ListNotifications action.
NotificationOutput.Builder avoiding the need to create
one manually via NotificationOutput.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
NotificationOutput.Builder#notifications(java.util.Collection) Copyright © 2023. All rights reserved.