Class CfnBucketPropsMixin.EventBridgeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.EventBridgeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.EventBridgeConfigurationProperty>
- Enclosing interface:
CfnBucketPropsMixin.EventBridgeConfigurationProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.EventBridgeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.EventBridgeConfigurationProperty>
A builder for
CfnBucketPropsMixin.EventBridgeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventBridgeEnabled(Boolean eventBridgeEnabled) eventBridgeEnabled(IResolvable eventBridgeEnabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventBridgeEnabled
@Stability(Stable) public CfnBucketPropsMixin.EventBridgeConfigurationProperty.Builder eventBridgeEnabled(Boolean eventBridgeEnabled) - Parameters:
eventBridgeEnabled- Enables delivery of events to Amazon EventBridge.- Returns:
this
-
eventBridgeEnabled
@Stability(Stable) public CfnBucketPropsMixin.EventBridgeConfigurationProperty.Builder eventBridgeEnabled(IResolvable eventBridgeEnabled) - Parameters:
eventBridgeEnabled- Enables delivery of events to Amazon EventBridge.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.EventBridgeConfigurationProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.EventBridgeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-