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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NotificationConfiguration.BuildereventBridgeConfiguration(Consumer<EventBridgeConfiguration.Builder> eventBridgeConfiguration)Enables delivery of events to Amazon EventBridge.NotificationConfiguration.BuildereventBridgeConfiguration(EventBridgeConfiguration eventBridgeConfiguration)Enables delivery of events to Amazon EventBridge.NotificationConfiguration.BuilderlambdaFunctionConfigurations(Collection<LambdaFunctionConfiguration> lambdaFunctionConfigurations)Describes the Lambda functions to invoke and the events for which to invoke them.NotificationConfiguration.BuilderlambdaFunctionConfigurations(Consumer<LambdaFunctionConfiguration.Builder>... lambdaFunctionConfigurations)Describes the Lambda functions to invoke and the events for which to invoke them.NotificationConfiguration.BuilderlambdaFunctionConfigurations(LambdaFunctionConfiguration... lambdaFunctionConfigurations)Describes the Lambda functions to invoke and the events for which to invoke them.NotificationConfiguration.BuilderqueueConfigurations(Collection<QueueConfiguration> queueConfigurations)The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.NotificationConfiguration.BuilderqueueConfigurations(Consumer<QueueConfiguration.Builder>... queueConfigurations)The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.NotificationConfiguration.BuilderqueueConfigurations(QueueConfiguration... queueConfigurations)The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.NotificationConfiguration.BuildertopicConfigurations(Collection<TopicConfiguration> topicConfigurations)The topic to which notifications are sent and the events for which notifications are generated.NotificationConfiguration.BuildertopicConfigurations(Consumer<TopicConfiguration.Builder>... topicConfigurations)The topic to which notifications are sent and the events for which notifications are generated.NotificationConfiguration.BuildertopicConfigurations(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaTopicConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaQueueConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLambdaFunctionConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEventBridgeConfiguration.builder().When the
Consumercompletes,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)
-
-