Class CfnStreamKey.Builder

java.lang.Object
software.amazon.awscdk.services.ivs.CfnStreamKey.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamKey>
Enclosing class:
CfnStreamKey

@Stability(Stable) public static final class CfnStreamKey.Builder extends Object implements software.amazon.jsii.Builder<CfnStreamKey>
A fluent builder for CfnStreamKey.
  • Method Details

    • create

      @Stability(Stable) public static CfnStreamKey.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 CfnStreamKey.Builder.
    • channelArn

      @Stability(Stable) public CfnStreamKey.Builder channelArn(String channelArn)
      Channel ARN for the stream.

      Parameters:
      channelArn - Channel ARN for the stream. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnStreamKey.Builder tags(List<? extends CfnTag> tags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      tags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • build

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