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