Class CfnChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelMixinProps>
- Enclosing interface:
CfnChannelMixinProps
@Stability(Stable)
public static final class CfnChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelMixinProps>
A builder for
CfnChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelName(String channelName) Sets the value ofCfnChannelMixinProps.getChannelName()channelStorage(CfnChannelPropsMixin.ChannelStorageProperty channelStorage) Sets the value ofCfnChannelMixinProps.getChannelStorage()channelStorage(IResolvable channelStorage) Sets the value ofCfnChannelMixinProps.getChannelStorage()retentionPeriod(CfnChannelPropsMixin.RetentionPeriodProperty retentionPeriod) Sets the value ofCfnChannelMixinProps.getRetentionPeriod()retentionPeriod(IResolvable retentionPeriod) Sets the value ofCfnChannelMixinProps.getRetentionPeriod()Sets the value ofCfnChannelMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelName
Sets the value ofCfnChannelMixinProps.getChannelName()- Parameters:
channelName- The name of the channel.- Returns:
this
-
channelStorage
Sets the value ofCfnChannelMixinProps.getChannelStorage()- Parameters:
channelStorage- Where channel data is stored.- Returns:
this
-
channelStorage
@Stability(Stable) public CfnChannelMixinProps.Builder channelStorage(CfnChannelPropsMixin.ChannelStorageProperty channelStorage) Sets the value ofCfnChannelMixinProps.getChannelStorage()- Parameters:
channelStorage- Where channel data is stored.- Returns:
this
-
retentionPeriod
Sets the value ofCfnChannelMixinProps.getRetentionPeriod()- Parameters:
retentionPeriod- How long, in days, message data is kept for the channel.- Returns:
this
-
retentionPeriod
@Stability(Stable) public CfnChannelMixinProps.Builder retentionPeriod(CfnChannelPropsMixin.RetentionPeriodProperty retentionPeriod) Sets the value ofCfnChannelMixinProps.getRetentionPeriod()- Parameters:
retentionPeriod- How long, in days, message data is kept for the channel.- Returns:
this
-
tags
Sets the value ofCfnChannelMixinProps.getTags()- Parameters:
tags- Metadata which can be used to manage the channel. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelMixinProps>- Returns:
- a new instance of
CfnChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-