Class CfnChannel.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnChannel.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel>
- Enclosing class:
- CfnChannel
@Stability(Stable)
public static final class CfnChannel.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel>
A fluent builder for
CfnChannel.-
Method Summary
Modifier and TypeMethodDescriptionbuild()channelName(String channelName) The name of the channel.channelStorage(IResolvable channelStorage) Where channel data is stored.channelStorage(CfnChannel.ChannelStorageProperty channelStorage) Where channel data is stored.static CfnChannel.BuilderretentionPeriod(IResolvable retentionPeriod) How long, in days, message data is kept for the channel.retentionPeriod(CfnChannel.RetentionPeriodProperty retentionPeriod) How long, in days, message data is kept for the channel.Metadata which can be used to manage the channel.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnChannel.Builder.
-
channelName
The name of the channel.- Parameters:
channelName- The name of the channel. This parameter is required.- Returns:
this
-
channelStorage
@Stability(Stable) public CfnChannel.Builder channelStorage(CfnChannel.ChannelStorageProperty channelStorage) Where channel data is stored.- Parameters:
channelStorage- Where channel data is stored. This parameter is required.- Returns:
this
-
channelStorage
Where channel data is stored.- Parameters:
channelStorage- Where channel data is stored. This parameter is required.- Returns:
this
-
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
-
retentionPeriod
@Stability(Stable) public CfnChannel.Builder retentionPeriod(CfnChannel.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
-
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
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel>- Returns:
- a newly built instance of
CfnChannel.
-