Interface ListNotificationEventsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNotificationEventsResponse.Builder,ListNotificationEventsResponse>,NotificationsResponse.Builder,SdkBuilder<ListNotificationEventsResponse.Builder,ListNotificationEventsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListNotificationEventsResponse
public static interface ListNotificationEventsResponse.Builder extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationEventsResponse.Builder,ListNotificationEventsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListNotificationEventsResponse.BuildernextToken(String nextToken)A pagination token.ListNotificationEventsResponse.BuildernotificationEvents(Collection<NotificationEventOverview> notificationEvents)The list of notification events.ListNotificationEventsResponse.BuildernotificationEvents(Consumer<NotificationEventOverview.Builder>... notificationEvents)The list of notification events.ListNotificationEventsResponse.BuildernotificationEvents(NotificationEventOverview... notificationEvents)The list of notification events.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.notifications.model.NotificationsResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListNotificationEventsResponse.Builder nextToken(String nextToken)
A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.
- Parameters:
nextToken- A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationEvents
ListNotificationEventsResponse.Builder notificationEvents(Collection<NotificationEventOverview> notificationEvents)
The list of notification events.
- Parameters:
notificationEvents- The list of notification events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationEvents
ListNotificationEventsResponse.Builder notificationEvents(NotificationEventOverview... notificationEvents)
The list of notification events.
- Parameters:
notificationEvents- The list of notification events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationEvents
ListNotificationEventsResponse.Builder notificationEvents(Consumer<NotificationEventOverview.Builder>... notificationEvents)
The list of notification events.
This is a convenience method that creates an instance of theNotificationEventOverview.Builderavoiding the need to create one manually viaNotificationEventOverview.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#notificationEvents(List.) - Parameters:
notificationEvents- a consumer that will call methods onNotificationEventOverview.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#notificationEvents(java.util.Collection)
-
-