Interface ListManagedNotificationEventsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListManagedNotificationEventsResponse.Builder,ListManagedNotificationEventsResponse>,NotificationsResponse.Builder,SdkBuilder<ListManagedNotificationEventsResponse.Builder,ListManagedNotificationEventsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListManagedNotificationEventsResponse
public static interface ListManagedNotificationEventsResponse.Builder extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListManagedNotificationEventsResponse.Builder,ListManagedNotificationEventsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListManagedNotificationEventsResponse.BuildermanagedNotificationEvents(Collection<ManagedNotificationEventOverview> managedNotificationEvents)A list of Managed Notification Events matching the request criteria.ListManagedNotificationEventsResponse.BuildermanagedNotificationEvents(Consumer<ManagedNotificationEventOverview.Builder>... managedNotificationEvents)A list of Managed Notification Events matching the request criteria.ListManagedNotificationEventsResponse.BuildermanagedNotificationEvents(ManagedNotificationEventOverview... managedNotificationEvents)A list of Managed Notification Events matching the request criteria.ListManagedNotificationEventsResponse.BuildernextToken(String nextToken)A pagination token.-
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
ListManagedNotificationEventsResponse.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.
-
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 to#managedNotificationEvents(List.) - 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:
#managedNotificationEvents(java.util.Collection)
-
-