Class CfnEventBusPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eventsv2.CfnEventBusPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventBusPropsMixin>
- Enclosing class:
CfnEventBusPropsMixin
@Stability(Stable)
public static final class CfnEventBusPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventBusPropsMixin>
A fluent builder for
CfnEventBusPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) A description of the event bus.encryptionConfiguration(CfnEventBusPropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Encryption configuration for an event bus.encryptionConfiguration(IResolvable encryptionConfiguration) Encryption configuration for an event bus.The name of the event bus.storageConfiguration(CfnEventBusPropsMixin.StorageConfigurationProperty storageConfiguration) Storage (retention) configuration for the event bus.storageConfiguration(IResolvable storageConfiguration) Storage (retention) configuration for the event bus.The tags assigned to the event bus.
-
Method Details
-
create
@Stability(Stable) public static CfnEventBusPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnEventBusPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnEventBusPropsMixin.Builder.
-
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 CfnEventBusPropsMixin.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 CfnEventBusPropsMixin.Builder encryptionConfiguration(CfnEventBusPropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Encryption configuration for an event bus.- Parameters:
encryptionConfiguration- Encryption configuration for an event bus. This parameter is required.- Returns:
this- See Also:
-
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:
-
storageConfiguration
@Stability(Stable) public CfnEventBusPropsMixin.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 CfnEventBusPropsMixin.Builder storageConfiguration(CfnEventBusPropsMixin.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<CfnEventBusPropsMixin>- Returns:
- a newly built instance of
CfnEventBusPropsMixin.
-