public static final class CfnChannel.Builder
extends java.lang.Object
CfnChannel
.Modifier and Type | Method and Description |
---|---|
CfnChannel |
build() |
CfnChannel.Builder |
channelName(java.lang.String channelName)
The name of the channel.
|
CfnChannel.Builder |
channelStorage(CfnChannel.ChannelStorageProperty channelStorage)
Where channel data is stored.
|
CfnChannel.Builder |
channelStorage(IResolvable channelStorage)
Where channel data is stored.
|
static CfnChannel.Builder |
create(Construct scope,
java.lang.String id) |
CfnChannel.Builder |
retentionPeriod(CfnChannel.RetentionPeriodProperty retentionPeriod)
How long, in days, message data is kept for the channel.
|
CfnChannel.Builder |
retentionPeriod(IResolvable retentionPeriod)
How long, in days, message data is kept for the channel.
|
CfnChannel.Builder |
tags(java.util.List<? extends CfnTag> tags)
Metadata which can be used to manage the channel.
|
public static CfnChannel.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnChannel.ChannelStorageProperty.Builder
.public CfnChannel.Builder channelName(java.lang.String channelName)
channelName
- The name of the channel. This parameter is required.this
public CfnChannel.Builder channelStorage(CfnChannel.ChannelStorageProperty channelStorage)
channelStorage
- Where channel data is stored. This parameter is required.this
public CfnChannel.Builder channelStorage(IResolvable channelStorage)
channelStorage
- Where channel data is stored. This parameter is required.this
public CfnChannel.Builder retentionPeriod(IResolvable retentionPeriod)
retentionPeriod
- How long, in days, message data is kept for the channel. This parameter is required.this
public CfnChannel.Builder retentionPeriod(CfnChannel.RetentionPeriodProperty retentionPeriod)
retentionPeriod
- How long, in days, message data is kept for the channel. This parameter is required.this
public CfnChannel.Builder tags(java.util.List<? extends CfnTag> tags)
For more information, see Tag .
tags
- Metadata which can be used to manage the channel. This parameter is required.this
public CfnChannel build()