Class CfnEventBus.Builder
java.lang.Object
software.amazon.awscdk.services.eventsv2.CfnEventBus.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventBus>
- Enclosing class:
CfnEventBus
@Stability(Stable)
public static final class CfnEventBus.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventBus>
A fluent builder for
CfnEventBus.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnEventBus.Builderdescription(String description) A description of the event bus.encryptionConfiguration(IResolvable encryptionConfiguration) Encryption configuration for an event bus.encryptionConfiguration(CfnEventBus.EncryptionConfigurationProperty encryptionConfiguration) Encryption configuration for an event bus.The name of the event bus.storageConfiguration(IResolvable storageConfiguration) Storage (retention) configuration for the event bus.storageConfiguration(CfnEventBus.StorageConfigurationProperty storageConfiguration) Storage (retention) configuration for the event bus.The tags assigned to the event bus.
-
Method Details
-
create
@Stability(Stable) public static CfnEventBus.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnEventBus.Builder.
-
name
The name of the event bus.The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'.
- Parameters:
name- The name of the event bus. This parameter is required.- Returns:
this- See Also:
-
description
A description of the event bus.Control characters and Unicode line separators are not allowed.
- Parameters:
description- A description of the event bus. This parameter is required.- Returns:
this- See Also:
-
encryptionConfiguration
@Stability(Stable) public CfnEventBus.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Encryption configuration for an event bus.- Parameters:
encryptionConfiguration- Encryption configuration for an event bus. This parameter is required.- Returns:
this- See Also:
-
encryptionConfiguration
@Stability(Stable) public CfnEventBus.Builder encryptionConfiguration(CfnEventBus.EncryptionConfigurationProperty encryptionConfiguration) Encryption configuration for an event bus.- Parameters:
encryptionConfiguration- Encryption configuration for an event bus. This parameter is required.- Returns:
this- See Also:
-
storageConfiguration
@Stability(Stable) public CfnEventBus.Builder storageConfiguration(IResolvable storageConfiguration) Storage (retention) configuration for the event bus.- Parameters:
storageConfiguration- Storage (retention) configuration for the event bus. This parameter is required.- Returns:
this- See Also:
-
storageConfiguration
@Stability(Stable) public CfnEventBus.Builder storageConfiguration(CfnEventBus.StorageConfigurationProperty storageConfiguration) Storage (retention) configuration for the event bus.- Parameters:
storageConfiguration- Storage (retention) configuration for the event bus. This parameter is required.- Returns:
this- See Also:
-
tags
The tags assigned to the event bus.- Parameters:
tags- The tags assigned to the event bus. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventBus>- Returns:
- a newly built instance of
CfnEventBus.
-