Class CfnEventBusPropsMixin.StorageConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eventsv2.CfnEventBusPropsMixin.StorageConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventBusPropsMixin.StorageConfigurationProperty>
- Enclosing interface:
CfnEventBusPropsMixin.StorageConfigurationProperty
@Stability(Stable)
public static final class CfnEventBusPropsMixin.StorageConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventBusPropsMixin.StorageConfigurationProperty>
A builder for
CfnEventBusPropsMixin.StorageConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.retentionPeriodInDays(Number retentionPeriodInDays)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
retentionPeriodInDays
@Stability(Stable) public CfnEventBusPropsMixin.StorageConfigurationProperty.Builder retentionPeriodInDays(Number retentionPeriodInDays) - Parameters:
retentionPeriodInDays- The number of days events are retained on the event bus for replay, 1-365.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventBusPropsMixin.StorageConfigurationProperty>- Returns:
- a new instance of
CfnEventBusPropsMixin.StorageConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-