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 Details

    • create

      @Stability(Stable) public static CfnChannel.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnChannel.Builder.
    • channelName

      @Stability(Stable) public CfnChannel.Builder channelName(String 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

      @Stability(Stable) public CfnChannel.Builder channelStorage(IResolvable channelStorage)
      Where channel data is stored.

      Parameters:
      channelStorage - Where channel data is stored. This parameter is required.
      Returns:
      this
    • retentionPeriod

      @Stability(Stable) public CfnChannel.Builder retentionPeriod(IResolvable 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

      @Stability(Stable) public CfnChannel.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnChannel build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnChannel>
      Returns:
      a newly built instance of CfnChannel.