Class CfnBucketPropsMixin.NotificationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.NotificationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.NotificationConfigurationProperty>
- Enclosing interface:
CfnBucketPropsMixin.NotificationConfigurationProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.NotificationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.NotificationConfigurationProperty>
A builder for
CfnBucketPropsMixin.NotificationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventBridgeConfiguration(CfnBucketPropsMixin.EventBridgeConfigurationProperty eventBridgeConfiguration) eventBridgeConfiguration(IResolvable eventBridgeConfiguration) lambdaConfigurations(List<? extends Object> lambdaConfigurations) lambdaConfigurations(IResolvable lambdaConfigurations) queueConfigurations(List<? extends Object> queueConfigurations) queueConfigurations(IResolvable queueConfigurations) topicConfigurations(List<? extends Object> topicConfigurations) topicConfigurations(IResolvable topicConfigurations)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventBridgeConfiguration
@Stability(Stable) public CfnBucketPropsMixin.NotificationConfigurationProperty.Builder eventBridgeConfiguration(IResolvable eventBridgeConfiguration) Sets the value ofCfnBucketPropsMixin.NotificationConfigurationProperty.getEventBridgeConfiguration()- Parameters:
eventBridgeConfiguration- Enables delivery of events to Amazon EventBridge.- Returns:
this
-
eventBridgeConfiguration
@Stability(Stable) public CfnBucketPropsMixin.NotificationConfigurationProperty.Builder eventBridgeConfiguration(CfnBucketPropsMixin.EventBridgeConfigurationProperty eventBridgeConfiguration) Sets the value ofCfnBucketPropsMixin.NotificationConfigurationProperty.getEventBridgeConfiguration()- Parameters:
eventBridgeConfiguration- Enables delivery of events to Amazon EventBridge.- Returns:
this
-
lambdaConfigurations
@Stability(Stable) public CfnBucketPropsMixin.NotificationConfigurationProperty.Builder lambdaConfigurations(IResolvable lambdaConfigurations) - Parameters:
lambdaConfigurations- Describes the AWS Lambda functions to invoke and the events for which to invoke them.- Returns:
this
-
lambdaConfigurations
@Stability(Stable) public CfnBucketPropsMixin.NotificationConfigurationProperty.Builder lambdaConfigurations(List<? extends Object> lambdaConfigurations) - Parameters:
lambdaConfigurations- Describes the AWS Lambda functions to invoke and the events for which to invoke them.- Returns:
this
-
queueConfigurations
@Stability(Stable) public CfnBucketPropsMixin.NotificationConfigurationProperty.Builder queueConfigurations(IResolvable queueConfigurations) - 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 CfnBucketPropsMixin.NotificationConfigurationProperty.Builder queueConfigurations(List<? extends Object> queueConfigurations) - 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 CfnBucketPropsMixin.NotificationConfigurationProperty.Builder topicConfigurations(IResolvable topicConfigurations) - Parameters:
topicConfigurations- The topic to which notifications are sent and the events for which notifications are generated.- Returns:
this
-
topicConfigurations
@Stability(Stable) public CfnBucketPropsMixin.NotificationConfigurationProperty.Builder topicConfigurations(List<? extends Object> topicConfigurations) - 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.NotificationConfigurationProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.NotificationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-