Interface ListNotificationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<ListNotificationsResponse.Builder,,ListNotificationsResponse> SdkBuilder<ListNotificationsResponse.Builder,,ListNotificationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNotificationsResponse
@Mutable
@NotThreadSafe
public static interface ListNotificationsResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationsResponse.Builder,ListNotificationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results.notificationSummaryList(Collection<Notification> notificationSummaryList) A list of notification summaries.notificationSummaryList(Consumer<Notification.Builder>... notificationSummaryList) A list of notification summaries.notificationSummaryList(Notification... notificationSummaryList) A list of notification summaries.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
The token for the next set of results. If present, there are more results available.
- Parameters:
nextToken- The token for the next set of results. If present, there are more results available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSummaryList
ListNotificationsResponse.Builder notificationSummaryList(Collection<Notification> notificationSummaryList) A list of notification summaries.
- Parameters:
notificationSummaryList- A list of notification summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSummaryList
A list of notification summaries.
- Parameters:
notificationSummaryList- A list of notification summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSummaryList
ListNotificationsResponse.Builder notificationSummaryList(Consumer<Notification.Builder>... notificationSummaryList) A list of notification summaries.
This is a convenience method that creates an instance of theNotification.Builderavoiding the need to create one manually viaNotification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationSummaryList(List<Notification>).- Parameters:
notificationSummaryList- a consumer that will call methods onNotification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-