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 Summary
Modifier and TypeMethodDescriptionbuild()
cdiInputSpecification
(IResolvable cdiInputSpecification) Specification of CDI inputs for this channel.cdiInputSpecification
(CfnChannel.CdiInputSpecificationProperty cdiInputSpecification) Specification of CDI inputs for this channel.channelClass
(String channelClass) The class for this channel.static CfnChannel.Builder
destinations
(List<? extends Object> destinations) The settings that identify the destination for the outputs in this MediaLive output package.destinations
(IResolvable destinations) The settings that identify the destination for the outputs in this MediaLive output package.encoderSettings
(IResolvable encoderSettings) The encoding configuration for the output content.encoderSettings
(CfnChannel.EncoderSettingsProperty encoderSettings) The encoding configuration for the output content.inputAttachments
(List<? extends Object> inputAttachments) The list of input attachments for the channel.inputAttachments
(IResolvable inputAttachments) The list of input attachments for the channel.inputSpecification
(IResolvable inputSpecification) The input specification for this channel.inputSpecification
(CfnChannel.InputSpecificationProperty inputSpecification) The input specification for this channel.The verbosity for logging activity for this channel.maintenance
(IResolvable maintenance) AWS::MediaLive::Channel.Maintenance
.maintenance
(CfnChannel.MaintenanceCreateSettingsProperty maintenance) AWS::MediaLive::Channel.Maintenance
.A name for this audio selector.The IAM role for MediaLive to assume when running this channel.A collection of tags for this channel.vpc
(IResolvable vpc) Settings to enable VPC mode in the channel, so that the endpoints for all outputs are in your VPC.Settings to enable VPC mode in the channel, so that the endpoints for all outputs are in your VPC.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel>
- Returns:
- a newly built instance of
CfnChannel
.
-