Interface ListManagedNotificationEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListManagedNotificationEventsResponse.Builder,,ListManagedNotificationEventsResponse> NotificationsResponse.Builder,SdkBuilder<ListManagedNotificationEventsResponse.Builder,,ListManagedNotificationEventsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListManagedNotificationEventsResponse
@Mutable
@NotThreadSafe
public static interface ListManagedNotificationEventsResponse.Builder
extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListManagedNotificationEventsResponse.Builder,ListManagedNotificationEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmanagedNotificationEvents(Collection<ManagedNotificationEventOverview> managedNotificationEvents) A list of Managed Notification Events matching the request criteria.managedNotificationEvents(Consumer<ManagedNotificationEventOverview.Builder>... managedNotificationEvents) A list of Managed Notification Events matching the request criteria.managedNotificationEvents(ManagedNotificationEventOverview... managedNotificationEvents) A list of Managed Notification Events matching the request criteria.A pagination token.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.
-
managedNotificationEvents
ListManagedNotificationEventsResponse.Builder managedNotificationEvents(Collection<ManagedNotificationEventOverview> managedNotificationEvents) A list of Managed Notification Events matching the request criteria.
- Parameters:
managedNotificationEvents- A list of Managed Notification Events matching the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedNotificationEvents
ListManagedNotificationEventsResponse.Builder managedNotificationEvents(ManagedNotificationEventOverview... managedNotificationEvents) A list of Managed Notification Events matching the request criteria.
- Parameters:
managedNotificationEvents- A list of Managed Notification Events matching the request criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedNotificationEvents
ListManagedNotificationEventsResponse.Builder managedNotificationEvents(Consumer<ManagedNotificationEventOverview.Builder>... managedNotificationEvents) A list of Managed Notification Events matching the request criteria.
This is a convenience method that creates an instance of theManagedNotificationEventOverview.Builderavoiding the need to create one manually viaManagedNotificationEventOverview.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagedNotificationEvents(List<ManagedNotificationEventOverview>).- Parameters:
managedNotificationEvents- a consumer that will call methods onManagedNotificationEventOverview.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-