Interface NotificationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationConfiguration.Builder,
,NotificationConfiguration> SdkBuilder<NotificationConfiguration.Builder,
,NotificationConfiguration> SdkPojo
- Enclosing class:
NotificationConfiguration
public static interface NotificationConfiguration.Builder
extends SdkPojo, CopyableBuilder<NotificationConfiguration.Builder,NotificationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionhttpsNotificationConfiguration
(Consumer<HttpsNotificationConfiguration.Builder> httpsNotificationConfiguration) The configurations for HTTPS subscriber notification.httpsNotificationConfiguration
(HttpsNotificationConfiguration httpsNotificationConfiguration) The configurations for HTTPS subscriber notification.sqsNotificationConfiguration
(Consumer<SqsNotificationConfiguration.Builder> sqsNotificationConfiguration) The configurations for SQS subscriber notification.sqsNotificationConfiguration
(SqsNotificationConfiguration sqsNotificationConfiguration) The configurations for SQS subscriber notification.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
-
Method Details
-
httpsNotificationConfiguration
NotificationConfiguration.Builder httpsNotificationConfiguration(HttpsNotificationConfiguration httpsNotificationConfiguration) The configurations for HTTPS subscriber notification.
- Parameters:
httpsNotificationConfiguration
- The configurations for HTTPS subscriber notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpsNotificationConfiguration
default NotificationConfiguration.Builder httpsNotificationConfiguration(Consumer<HttpsNotificationConfiguration.Builder> httpsNotificationConfiguration) The configurations for HTTPS subscriber notification.
This is a convenience method that creates an instance of theHttpsNotificationConfiguration.Builder
avoiding the need to create one manually viaHttpsNotificationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohttpsNotificationConfiguration(HttpsNotificationConfiguration)
.- Parameters:
httpsNotificationConfiguration
- a consumer that will call methods onHttpsNotificationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sqsNotificationConfiguration
NotificationConfiguration.Builder sqsNotificationConfiguration(SqsNotificationConfiguration sqsNotificationConfiguration) The configurations for SQS subscriber notification.
- Parameters:
sqsNotificationConfiguration
- The configurations for SQS subscriber notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sqsNotificationConfiguration
default NotificationConfiguration.Builder sqsNotificationConfiguration(Consumer<SqsNotificationConfiguration.Builder> sqsNotificationConfiguration) The configurations for SQS subscriber notification.
This is a convenience method that creates an instance of theSqsNotificationConfiguration.Builder
avoiding the need to create one manually viaSqsNotificationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosqsNotificationConfiguration(SqsNotificationConfiguration)
.- Parameters:
sqsNotificationConfiguration
- a consumer that will call methods onSqsNotificationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-