Class CfnChannelProps.Builder

java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnChannelProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelProps>
Enclosing interface:
CfnChannelProps

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

    • Builder

      public Builder()
  • Method Details

    • channelGroupName

      @Stability(Stable) public CfnChannelProps.Builder channelGroupName(String channelGroupName)
      Parameters:
      channelGroupName - The name of the channel group associated with the channel configuration. This parameter is required.
      Returns:
      this
    • channelName

      @Stability(Stable) public CfnChannelProps.Builder channelName(String channelName)
      Parameters:
      channelName - The name of the channel. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnChannelProps.Builder description(String description)
      Parameters:
      description - The description of the channel.
      Returns:
      this
    • inputType

      @Stability(Stable) public CfnChannelProps.Builder inputType(String inputType)
      Parameters:
      inputType - The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior.

      The allowed values are:

      • HLS - The HLS streaming specification (which defines M3U8 manifests and TS segments).
      • CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests).
      Returns:
      this
    • tags

      @Stability(Stable) public CfnChannelProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnChannelProps.getTags()
      Parameters:
      tags - The tags associated with the channel.
      Returns:
      this
    • build

      @Stability(Stable) public CfnChannelProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnChannelProps>
      Returns:
      a new instance of CfnChannelProps
      Throws:
      NullPointerException - if any required attribute was not provided