Interface ListNotificationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListNotificationsResponse.Builder,
,ListNotificationsResponse> SdkBuilder<ListNotificationsResponse.Builder,
,ListNotificationsResponse> SdkPojo
,SdkResponse.Builder
,WellArchitectedResponse.Builder
- Enclosing class:
ListNotificationsResponse
@Mutable
@NotThreadSafe
public static interface ListNotificationsResponse.Builder
extends WellArchitectedResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationsResponse.Builder,ListNotificationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the NextToken property for this object.notificationSummaries
(Collection<NotificationSummary> notificationSummaries) List of lens notification summaries in a workload.notificationSummaries
(Consumer<NotificationSummary.Builder>... notificationSummaries) List of lens notification summaries in a workload.notificationSummaries
(NotificationSummary... notificationSummaries) List of lens notification summaries in a workload.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.wellarchitected.model.WellArchitectedResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
notificationSummaries
ListNotificationsResponse.Builder notificationSummaries(Collection<NotificationSummary> notificationSummaries) List of lens notification summaries in a workload.
- Parameters:
notificationSummaries
- List of lens notification summaries in a workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSummaries
ListNotificationsResponse.Builder notificationSummaries(NotificationSummary... notificationSummaries) List of lens notification summaries in a workload.
- Parameters:
notificationSummaries
- List of lens notification summaries in a workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSummaries
ListNotificationsResponse.Builder notificationSummaries(Consumer<NotificationSummary.Builder>... notificationSummaries) List of lens notification summaries in a workload.
This is a convenience method that creates an instance of theNotificationSummary.Builder
avoiding the need to create one manually viaNotificationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationSummaries(List<NotificationSummary>)
.- Parameters:
notificationSummaries
- a consumer that will call methods onNotificationSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-