Interface ListNotificationEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNotificationEventsResponse.Builder,,ListNotificationEventsResponse> NotificationsResponse.Builder,SdkBuilder<ListNotificationEventsResponse.Builder,,ListNotificationEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNotificationEventsResponse
@Mutable
@NotThreadSafe
public static interface ListNotificationEventsResponse.Builder
extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationEventsResponse.Builder,ListNotificationEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token.notificationEvents(Collection<NotificationEventOverview> notificationEvents) The list of notification events.notificationEvents(Consumer<NotificationEventOverview.Builder>... notificationEvents) The list of notification events.notificationEvents(NotificationEventOverview... notificationEvents) The list of notification events.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.notifications.model.NotificationsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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 tonotificationEvents(List<NotificationEventOverview>).- 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:
-