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.Builder
retentionPeriod
(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
@Stability(Stable) public static CfnChannel.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
CfnChannel.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 CfnChannel.Builder channelStorage(CfnChannel.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 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
- 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel>
- Returns:
- a newly built instance of
CfnChannel
.
-