Interface ListNotificationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListNotificationsResponse.Builder,
,ListNotificationsResponse> DataZoneResponse.Builder
,SdkBuilder<ListNotificationsResponse.Builder,
,ListNotificationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListNotificationsResponse
public static interface ListNotificationsResponse.Builder
extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationsResponse.Builder,ListNotificationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionWhen the number of notifications is greater than the default value for theMaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of notifications, the response includes a pagination token namedNextToken
.notifications
(Collection<NotificationOutput> notifications) The results of theListNotifications
action.notifications
(Consumer<NotificationOutput.Builder>... notifications) The results of theListNotifications
action.notifications
(NotificationOutput... notifications) The results of theListNotifications
action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
When the number of notifications is greater than the default value for the
MaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of notifications, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toListNotifications
to list the next set of notifications.- Parameters:
nextToken
- When the number of notifications is greater than the default value for theMaxResults
parameter, or if you explicitly specify a value forMaxResults
that is less than the number of notifications, the response includes a pagination token namedNextToken
. You can specify thisNextToken
value in a subsequent call toListNotifications
to list the next set of notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifications
The results of the
ListNotifications
action.- Parameters:
notifications
- The results of theListNotifications
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifications
The results of the
ListNotifications
action.- Parameters:
notifications
- The results of theListNotifications
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifications
ListNotificationsResponse.Builder notifications(Consumer<NotificationOutput.Builder>... notifications) The results of the
This is a convenience method that creates an instance of theListNotifications
action.NotificationOutput.Builder
avoiding the need to create one manually viaNotificationOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotifications(List<NotificationOutput>)
.- Parameters:
notifications
- a consumer that will call methods onNotificationOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-