Interface NotificationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationConfiguration.Builder,
,NotificationConfiguration> SdkBuilder<NotificationConfiguration.Builder,
,NotificationConfiguration> SdkPojo
- Enclosing class:
NotificationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioneventBridgeConfiguration
(Consumer<EventBridgeConfiguration.Builder> eventBridgeConfiguration) Enables delivery of events to Amazon EventBridge.eventBridgeConfiguration
(EventBridgeConfiguration eventBridgeConfiguration) Enables delivery of events to Amazon EventBridge.lambdaFunctionConfigurations
(Collection<LambdaFunctionConfiguration> lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.lambdaFunctionConfigurations
(Consumer<LambdaFunctionConfiguration.Builder>... lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.lambdaFunctionConfigurations
(LambdaFunctionConfiguration... lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.queueConfigurations
(Collection<QueueConfiguration> queueConfigurations) The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.queueConfigurations
(Consumer<QueueConfiguration.Builder>... queueConfigurations) The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.queueConfigurations
(QueueConfiguration... queueConfigurations) The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.topicConfigurations
(Collection<TopicConfiguration> topicConfigurations) The topic to which notifications are sent and the events for which notifications are generated.topicConfigurations
(Consumer<TopicConfiguration.Builder>... topicConfigurations) The topic to which notifications are sent and the events for which notifications are generated.topicConfigurations
(TopicConfiguration... topicConfigurations) The topic to which notifications are sent and the events for which notifications are generated.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
-
topicConfigurations
NotificationConfiguration.Builder topicConfigurations(Collection<TopicConfiguration> topicConfigurations) The topic to which notifications are sent and the events for which notifications are generated.
- Parameters:
topicConfigurations
- The topic to which notifications are sent and the events for which notifications are generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurations
The topic to which notifications are sent and the events for which notifications are generated.
- Parameters:
topicConfigurations
- The topic to which notifications are sent and the events for which notifications are generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurations
NotificationConfiguration.Builder topicConfigurations(Consumer<TopicConfiguration.Builder>... topicConfigurations) The topic to which notifications are sent and the events for which notifications are generated.
This is a convenience method that creates an instance of theTopicConfiguration.Builder
avoiding the need to create one manually viaTopicConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopicConfigurations(List<TopicConfiguration>)
.- Parameters:
topicConfigurations
- a consumer that will call methods onTopicConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queueConfigurations
NotificationConfiguration.Builder queueConfigurations(Collection<QueueConfiguration> queueConfigurations) The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
- Parameters:
queueConfigurations
- The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueConfigurations
The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
- Parameters:
queueConfigurations
- The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueConfigurations
NotificationConfiguration.Builder queueConfigurations(Consumer<QueueConfiguration.Builder>... queueConfigurations) The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
This is a convenience method that creates an instance of theQueueConfiguration.Builder
avoiding the need to create one manually viaQueueConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueueConfigurations(List<QueueConfiguration>)
.- Parameters:
queueConfigurations
- a consumer that will call methods onQueueConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaFunctionConfigurations
NotificationConfiguration.Builder lambdaFunctionConfigurations(Collection<LambdaFunctionConfiguration> lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.
- Parameters:
lambdaFunctionConfigurations
- Describes the Lambda functions to invoke and the events for which to invoke them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaFunctionConfigurations
NotificationConfiguration.Builder lambdaFunctionConfigurations(LambdaFunctionConfiguration... lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.
- Parameters:
lambdaFunctionConfigurations
- Describes the Lambda functions to invoke and the events for which to invoke them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaFunctionConfigurations
NotificationConfiguration.Builder lambdaFunctionConfigurations(Consumer<LambdaFunctionConfiguration.Builder>... lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.
This is a convenience method that creates an instance of theLambdaFunctionConfiguration.Builder
avoiding the need to create one manually viaLambdaFunctionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaFunctionConfigurations(List<LambdaFunctionConfiguration>)
.- Parameters:
lambdaFunctionConfigurations
- a consumer that will call methods onLambdaFunctionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventBridgeConfiguration
NotificationConfiguration.Builder eventBridgeConfiguration(EventBridgeConfiguration eventBridgeConfiguration) Enables delivery of events to Amazon EventBridge.
- Parameters:
eventBridgeConfiguration
- Enables delivery of events to Amazon EventBridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBridgeConfiguration
default NotificationConfiguration.Builder eventBridgeConfiguration(Consumer<EventBridgeConfiguration.Builder> eventBridgeConfiguration) Enables delivery of events to Amazon EventBridge.
This is a convenience method that creates an instance of theEventBridgeConfiguration.Builder
avoiding the need to create one manually viaEventBridgeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventBridgeConfiguration(EventBridgeConfiguration)
.- Parameters:
eventBridgeConfiguration
- a consumer that will call methods onEventBridgeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-