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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NotificationConfiguration.Builder
eventBridgeConfiguration(Consumer<EventBridgeConfiguration.Builder> eventBridgeConfiguration)
Enables delivery of events to Amazon EventBridge.NotificationConfiguration.Builder
eventBridgeConfiguration(EventBridgeConfiguration eventBridgeConfiguration)
Enables delivery of events to Amazon EventBridge.NotificationConfiguration.Builder
lambdaFunctionConfigurations(Collection<LambdaFunctionConfiguration> lambdaFunctionConfigurations)
Describes the Lambda functions to invoke and the events for which to invoke them.NotificationConfiguration.Builder
lambdaFunctionConfigurations(Consumer<LambdaFunctionConfiguration.Builder>... lambdaFunctionConfigurations)
Describes the Lambda functions to invoke and the events for which to invoke them.NotificationConfiguration.Builder
lambdaFunctionConfigurations(LambdaFunctionConfiguration... lambdaFunctionConfigurations)
Describes the Lambda functions to invoke and the events for which to invoke them.NotificationConfiguration.Builder
queueConfigurations(Collection<QueueConfiguration> queueConfigurations)
The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.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.NotificationConfiguration.Builder
queueConfigurations(QueueConfiguration... queueConfigurations)
The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.NotificationConfiguration.Builder
topicConfigurations(Collection<TopicConfiguration> topicConfigurations)
The topic to which notifications are sent and the events for which notifications are generated.NotificationConfiguration.Builder
topicConfigurations(Consumer<TopicConfiguration.Builder>... topicConfigurations)
The topic to which notifications are sent and the events for which notifications are generated.NotificationConfiguration.Builder
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 Detail
-
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
NotificationConfiguration.Builder topicConfigurations(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
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 to#topicConfigurations(List
.) - 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:
#topicConfigurations(java.util.Collection
)
-
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
NotificationConfiguration.Builder queueConfigurations(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
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 to#queueConfigurations(List
.) - 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:
#queueConfigurations(java.util.Collection
)
-
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 to#lambdaFunctionConfigurations(List
.) - 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:
#lambdaFunctionConfigurations(java.util.Collection
)
-
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:
eventBridgeConfiguration(EventBridgeConfiguration)
-
-