Interface ListProfileNotificationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListProfileNotificationsResponse.Builder,
,ListProfileNotificationsResponse> SdkBuilder<ListProfileNotificationsResponse.Builder,
,ListProfileNotificationsResponse> SdkPojo
,SdkResponse.Builder
,WellArchitectedResponse.Builder
- Enclosing class:
ListProfileNotificationsResponse
public static interface ListProfileNotificationsResponse.Builder
extends WellArchitectedResponse.Builder, SdkPojo, CopyableBuilder<ListProfileNotificationsResponse.Builder,ListProfileNotificationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the NextToken property for this object.notificationSummaries
(Collection<ProfileNotificationSummary> notificationSummaries) Notification summaries.notificationSummaries
(Consumer<ProfileNotificationSummary.Builder>... notificationSummaries) Notification summaries.notificationSummaries
(ProfileNotificationSummary... notificationSummaries) Notification summaries.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, 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
ListProfileNotificationsResponse.Builder notificationSummaries(Collection<ProfileNotificationSummary> notificationSummaries) Notification summaries.
- Parameters:
notificationSummaries
- Notification summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSummaries
ListProfileNotificationsResponse.Builder notificationSummaries(ProfileNotificationSummary... notificationSummaries) Notification summaries.
- Parameters:
notificationSummaries
- Notification summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSummaries
ListProfileNotificationsResponse.Builder notificationSummaries(Consumer<ProfileNotificationSummary.Builder>... notificationSummaries) Notification summaries.
This is a convenience method that creates an instance of theProfileNotificationSummary.Builder
avoiding the need to create one manually viaProfileNotificationSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationSummaries(List<ProfileNotificationSummary>)
.- Parameters:
notificationSummaries
- a consumer that will call methods onProfileNotificationSummary.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.
-