Interface NotificationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationConfiguration.Builder,,NotificationConfiguration> SdkBuilder<NotificationConfiguration.Builder,,NotificationConfiguration> SdkPojo
- Enclosing class:
NotificationConfiguration
@Mutable
@NotThreadSafe
public static interface NotificationConfiguration.Builder
extends SdkPojo, CopyableBuilder<NotificationConfiguration.Builder,NotificationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionsnsConfiguration(Consumer<SnsConfiguration.Builder> snsConfiguration) Details about the Amazon Simple Notification Service (SNS) configuration.snsConfiguration(SnsConfiguration snsConfiguration) Details about the Amazon Simple Notification Service (SNS) configuration.Methods 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, sdkFields
-
Method Details
-
snsConfiguration
Details about the Amazon Simple Notification Service (SNS) configuration. This field is visible only when SNS Topic is provided when updating the account settings.
- Parameters:
snsConfiguration- Details about the Amazon Simple Notification Service (SNS) configuration. This field is visible only when SNS Topic is provided when updating the account settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsConfiguration
default NotificationConfiguration.Builder snsConfiguration(Consumer<SnsConfiguration.Builder> snsConfiguration) Details about the Amazon Simple Notification Service (SNS) configuration. This field is visible only when SNS Topic is provided when updating the account settings.
This is a convenience method that creates an instance of theSnsConfiguration.Builderavoiding the need to create one manually viaSnsConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnsConfiguration(SnsConfiguration).- Parameters:
snsConfiguration- a consumer that will call methods onSnsConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-