Interface ListNotificationConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListNotificationConfigurationsResponse.Builder,
,ListNotificationConfigurationsResponse> NotificationsResponse.Builder
,SdkBuilder<ListNotificationConfigurationsResponse.Builder,
,ListNotificationConfigurationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListNotificationConfigurationsResponse
@Mutable
@NotThreadSafe
public static interface ListNotificationConfigurationsResponse.Builder
extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationConfigurationsResponse.Builder,ListNotificationConfigurationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token.notificationConfigurations
(Collection<NotificationConfigurationStructure> notificationConfigurations) TheNotificationConfigurations
in the account.notificationConfigurations
(Consumer<NotificationConfigurationStructure.Builder>... notificationConfigurations) TheNotificationConfigurations
in the account.notificationConfigurations
(NotificationConfigurationStructure... notificationConfigurations) TheNotificationConfigurations
in the account.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 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.
-
notificationConfigurations
ListNotificationConfigurationsResponse.Builder notificationConfigurations(Collection<NotificationConfigurationStructure> notificationConfigurations) The
NotificationConfigurations
in the account.- Parameters:
notificationConfigurations
- TheNotificationConfigurations
in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfigurations
ListNotificationConfigurationsResponse.Builder notificationConfigurations(NotificationConfigurationStructure... notificationConfigurations) The
NotificationConfigurations
in the account.- Parameters:
notificationConfigurations
- TheNotificationConfigurations
in the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfigurations
ListNotificationConfigurationsResponse.Builder notificationConfigurations(Consumer<NotificationConfigurationStructure.Builder>... notificationConfigurations) The
This is a convenience method that creates an instance of theNotificationConfigurations
in the account.NotificationConfigurationStructure.Builder
avoiding the need to create one manually viaNotificationConfigurationStructure.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationConfigurations(List<NotificationConfigurationStructure>)
.- Parameters:
notificationConfigurations
- a consumer that will call methods onNotificationConfigurationStructure.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-