Interface ListNotificationConfigurationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNotificationConfigurationsResponse.Builder,ListNotificationConfigurationsResponse>,NotificationsResponse.Builder,SdkBuilder<ListNotificationConfigurationsResponse.Builder,ListNotificationConfigurationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListNotificationConfigurationsResponse
public static interface ListNotificationConfigurationsResponse.Builder extends NotificationsResponse.Builder, SdkPojo, CopyableBuilder<ListNotificationConfigurationsResponse.Builder,ListNotificationConfigurationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListNotificationConfigurationsResponse.BuildernextToken(String nextToken)A pagination token.ListNotificationConfigurationsResponse.BuildernotificationConfigurations(Collection<NotificationConfigurationStructure> notificationConfigurations)TheNotificationConfigurationsin the account.ListNotificationConfigurationsResponse.BuildernotificationConfigurations(Consumer<NotificationConfigurationStructure.Builder>... notificationConfigurations)TheNotificationConfigurationsin the account.ListNotificationConfigurationsResponse.BuildernotificationConfigurations(NotificationConfigurationStructure... notificationConfigurations)TheNotificationConfigurationsin 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 Detail
-
nextToken
ListNotificationConfigurationsResponse.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.
-
notificationConfigurations
ListNotificationConfigurationsResponse.Builder notificationConfigurations(Collection<NotificationConfigurationStructure> notificationConfigurations)
The
NotificationConfigurationsin the account.- Parameters:
notificationConfigurations- TheNotificationConfigurationsin the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfigurations
ListNotificationConfigurationsResponse.Builder notificationConfigurations(NotificationConfigurationStructure... notificationConfigurations)
The
NotificationConfigurationsin the account.- Parameters:
notificationConfigurations- TheNotificationConfigurationsin 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 theNotificationConfigurationsin the account.NotificationConfigurationStructure.Builderavoiding the need to create one manually viaNotificationConfigurationStructure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#notificationConfigurations(List.) - 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:
#notificationConfigurations(java.util.Collection)
-
-