Class CfnBucket.NotificationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.NotificationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.NotificationConfigurationProperty>
- Enclosing interface:
CfnBucket.NotificationConfigurationProperty
@Stability(Stable)
public static final class CfnBucket.NotificationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.NotificationConfigurationProperty>
A builder for
CfnBucket.NotificationConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.eventBridgeConfiguration
(IResolvable eventBridgeConfiguration) eventBridgeConfiguration
(CfnBucket.EventBridgeConfigurationProperty eventBridgeConfiguration) lambdaConfigurations
(List<? extends Object> lambdaConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getLambdaConfigurations()
lambdaConfigurations
(IResolvable lambdaConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getLambdaConfigurations()
queueConfigurations
(List<? extends Object> queueConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getQueueConfigurations()
queueConfigurations
(IResolvable queueConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getQueueConfigurations()
topicConfigurations
(List<? extends Object> topicConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getTopicConfigurations()
topicConfigurations
(IResolvable topicConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getTopicConfigurations()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventBridgeConfiguration
@Stability(Stable) public CfnBucket.NotificationConfigurationProperty.Builder eventBridgeConfiguration(IResolvable eventBridgeConfiguration) - Parameters:
eventBridgeConfiguration
- Enables delivery of events to Amazon EventBridge.- Returns:
this
-
eventBridgeConfiguration
@Stability(Stable) public CfnBucket.NotificationConfigurationProperty.Builder eventBridgeConfiguration(CfnBucket.EventBridgeConfigurationProperty eventBridgeConfiguration) - Parameters:
eventBridgeConfiguration
- Enables delivery of events to Amazon EventBridge.- Returns:
this
-
lambdaConfigurations
@Stability(Stable) public CfnBucket.NotificationConfigurationProperty.Builder lambdaConfigurations(IResolvable lambdaConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getLambdaConfigurations()
- Parameters:
lambdaConfigurations
- Describes the AWS Lambda functions to invoke and the events for which to invoke them.- Returns:
this
-
lambdaConfigurations
@Stability(Stable) public CfnBucket.NotificationConfigurationProperty.Builder lambdaConfigurations(List<? extends Object> lambdaConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getLambdaConfigurations()
- Parameters:
lambdaConfigurations
- Describes the AWS Lambda functions to invoke and the events for which to invoke them.- Returns:
this
-
queueConfigurations
@Stability(Stable) public CfnBucket.NotificationConfigurationProperty.Builder queueConfigurations(IResolvable queueConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getQueueConfigurations()
- Parameters:
queueConfigurations
- The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.- Returns:
this
-
queueConfigurations
@Stability(Stable) public CfnBucket.NotificationConfigurationProperty.Builder queueConfigurations(List<? extends Object> queueConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getQueueConfigurations()
- Parameters:
queueConfigurations
- The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.- Returns:
this
-
topicConfigurations
@Stability(Stable) public CfnBucket.NotificationConfigurationProperty.Builder topicConfigurations(IResolvable topicConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getTopicConfigurations()
- Parameters:
topicConfigurations
- The topic to which notifications are sent and the events for which notifications are generated.- Returns:
this
-
topicConfigurations
@Stability(Stable) public CfnBucket.NotificationConfigurationProperty.Builder topicConfigurations(List<? extends Object> topicConfigurations) Sets the value ofCfnBucket.NotificationConfigurationProperty.getTopicConfigurations()
- Parameters:
topicConfigurations
- The topic to which notifications are sent and the events for which notifications are generated.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBucket.NotificationConfigurationProperty>
- Returns:
- a new instance of
CfnBucket.NotificationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-