Class CfnChannelPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnChannelPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin>
- Enclosing class:
CfnChannelPropsMixin
@Stability(Stable)
public static final class CfnChannelPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin>
A fluent builder for
CfnChannelPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()channelName(String channelName) The name of the channel.channelStorage(CfnChannelPropsMixin.ChannelStorageProperty channelStorage) Where channel data is stored.channelStorage(IResolvable channelStorage) Where channel data is stored.static CfnChannelPropsMixin.Buildercreate()static CfnChannelPropsMixin.Buildercreate(CfnPropertyMixinOptions options) retentionPeriod(CfnChannelPropsMixin.RetentionPeriodProperty retentionPeriod) How long, in days, message data is kept for the channel.retentionPeriod(IResolvable retentionPeriod) How long, in days, message data is kept for the channel.Metadata which can be used to manage the channel.
-
Method Details
-
create
@Stability(Stable) public static CfnChannelPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnChannelPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnChannelPropsMixin.Builder.
-
channelName
The name of the channel.- Parameters:
channelName- The name of the channel. This parameter is required.- Returns:
this- See Also:
-
channelStorage
Where channel data is stored.- Parameters:
channelStorage- Where channel data is stored. This parameter is required.- Returns:
this- See Also:
-
channelStorage
@Stability(Stable) public CfnChannelPropsMixin.Builder channelStorage(CfnChannelPropsMixin.ChannelStorageProperty channelStorage) Where channel data is stored.- Parameters:
channelStorage- Where channel data is stored. This parameter is required.- Returns:
this- See Also:
-
retentionPeriod
How long, in days, message data is kept for the channel.- Parameters:
retentionPeriod- How long, in days, message data is kept for the channel. This parameter is required.- Returns:
this- See Also:
-
retentionPeriod
@Stability(Stable) public CfnChannelPropsMixin.Builder retentionPeriod(CfnChannelPropsMixin.RetentionPeriodProperty retentionPeriod) How long, in days, message data is kept for the channel.- Parameters:
retentionPeriod- How long, in days, message data is kept for the channel. This parameter is required.- Returns:
this- See Also:
-
tags
Metadata which can be used to manage the channel.For more information, see Tag .
- Parameters:
tags- Metadata which can be used to manage the channel. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin>- Returns:
- a newly built instance of
CfnChannelPropsMixin.
-