Class CfnChannel.Builder

java.lang.Object
software.amazon.awscdk.services.medialive.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.
    • cdiInputSpecification

      @Stability(Stable) public CfnChannel.Builder cdiInputSpecification(CfnChannel.CdiInputSpecificationProperty cdiInputSpecification)
      Specification of CDI inputs for this channel.

      Parameters:
      cdiInputSpecification - Specification of CDI inputs for this channel. This parameter is required.
      Returns:
      this
    • cdiInputSpecification

      @Stability(Stable) public CfnChannel.Builder cdiInputSpecification(IResolvable cdiInputSpecification)
      Specification of CDI inputs for this channel.

      Parameters:
      cdiInputSpecification - Specification of CDI inputs for this channel. This parameter is required.
      Returns:
      this
    • channelClass

      @Stability(Stable) public CfnChannel.Builder channelClass(String channelClass)
      The class for this channel.

      For a channel with two pipelines, the class is STANDARD. For a channel with one pipeline, the class is SINGLE_PIPELINE.

      Parameters:
      channelClass - The class for this channel. This parameter is required.
      Returns:
      this
    • destinations

      @Stability(Stable) public CfnChannel.Builder destinations(IResolvable destinations)
      The settings that identify the destination for the outputs in this MediaLive output package.

      Parameters:
      destinations - The settings that identify the destination for the outputs in this MediaLive output package. This parameter is required.
      Returns:
      this
    • destinations

      @Stability(Stable) public CfnChannel.Builder destinations(List<? extends Object> destinations)
      The settings that identify the destination for the outputs in this MediaLive output package.

      Parameters:
      destinations - The settings that identify the destination for the outputs in this MediaLive output package. This parameter is required.
      Returns:
      this
    • encoderSettings

      @Stability(Stable) public CfnChannel.Builder encoderSettings(IResolvable encoderSettings)
      The encoding configuration for the output content.

      Parameters:
      encoderSettings - The encoding configuration for the output content. This parameter is required.
      Returns:
      this
    • encoderSettings

      @Stability(Stable) public CfnChannel.Builder encoderSettings(CfnChannel.EncoderSettingsProperty encoderSettings)
      The encoding configuration for the output content.

      Parameters:
      encoderSettings - The encoding configuration for the output content. This parameter is required.
      Returns:
      this
    • inputAttachments

      @Stability(Stable) public CfnChannel.Builder inputAttachments(IResolvable inputAttachments)
      The list of input attachments for the channel.

      Parameters:
      inputAttachments - The list of input attachments for the channel. This parameter is required.
      Returns:
      this
    • inputAttachments

      @Stability(Stable) public CfnChannel.Builder inputAttachments(List<? extends Object> inputAttachments)
      The list of input attachments for the channel.

      Parameters:
      inputAttachments - The list of input attachments for the channel. This parameter is required.
      Returns:
      this
    • inputSpecification

      @Stability(Stable) public CfnChannel.Builder inputSpecification(IResolvable inputSpecification)
      The input specification for this channel.

      It specifies the key characteristics of the inputs for this channel: the maximum bitrate, the resolution, and the codec.

      Parameters:
      inputSpecification - The input specification for this channel. This parameter is required.
      Returns:
      this
    • inputSpecification

      @Stability(Stable) public CfnChannel.Builder inputSpecification(CfnChannel.InputSpecificationProperty inputSpecification)
      The input specification for this channel.

      It specifies the key characteristics of the inputs for this channel: the maximum bitrate, the resolution, and the codec.

      Parameters:
      inputSpecification - The input specification for this channel. This parameter is required.
      Returns:
      this
    • logLevel

      @Stability(Stable) public CfnChannel.Builder logLevel(String logLevel)
      The verbosity for logging activity for this channel.

      Charges for logging (which are generated through Amazon CloudWatch Logging) are higher for higher verbosities.

      Parameters:
      logLevel - The verbosity for logging activity for this channel. This parameter is required.
      Returns:
      this
    • maintenance

      @Stability(Stable) public CfnChannel.Builder maintenance(IResolvable maintenance)
      AWS::MediaLive::Channel.Maintenance.

      Parameters:
      maintenance - AWS::MediaLive::Channel.Maintenance. This parameter is required.
      Returns:
      this
    • maintenance

      @Stability(Stable) public CfnChannel.Builder maintenance(CfnChannel.MaintenanceCreateSettingsProperty maintenance)
      AWS::MediaLive::Channel.Maintenance.

      Parameters:
      maintenance - AWS::MediaLive::Channel.Maintenance. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnChannel.Builder name(String name)
      A name for this audio selector.

      The AudioDescription (in an output) references this name in order to identify a specific input audio to include in that output.

      Parameters:
      name - A name for this audio selector. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnChannel.Builder roleArn(String roleArn)
      The IAM role for MediaLive to assume when running this channel.

      The role is identified by its ARN.

      Parameters:
      roleArn - The IAM role for MediaLive to assume when running this channel. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnChannel.Builder tags(Object tags)
      A collection of tags for this channel.

      Each tag is a key-value pair.

      Parameters:
      tags - A collection of tags for this channel. This parameter is required.
      Returns:
      this
    • vpc

      @Stability(Stable) public CfnChannel.Builder vpc(IResolvable vpc)
      Settings to enable VPC mode in the channel, so that the endpoints for all outputs are in your VPC.

      Parameters:
      vpc - Settings to enable VPC mode in the channel, so that the endpoints for all outputs are in your VPC. This parameter is required.
      Returns:
      this
    • vpc

      @Stability(Stable) public CfnChannel.Builder vpc(CfnChannel.VpcOutputSettingsProperty vpc)
      Settings to enable VPC mode in the channel, so that the endpoints for all outputs are in your VPC.

      Parameters:
      vpc - Settings to enable VPC mode in the channel, so that the endpoints for all outputs are in your VPC. 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.