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) Maintenance settings for this channel.maintenance
(CfnChannel.MaintenanceCreateSettingsProperty maintenance) Maintenance settings for this channel.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
@Stability(Stable) public static CfnChannel.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnChannel.Builder
.
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
encoderSettings
The encoding configuration for the output content.- Parameters:
encoderSettings
- The encoding configuration for the output content. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
maintenance
Maintenance settings for this channel.- Parameters:
maintenance
- Maintenance settings for this channel. This parameter is required.- Returns:
this
- See Also:
-
maintenance
@Stability(Stable) public CfnChannel.Builder maintenance(CfnChannel.MaintenanceCreateSettingsProperty maintenance) Maintenance settings for this channel.- Parameters:
maintenance
- Maintenance settings for this channel. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel>
- Returns:
- a newly built instance of
CfnChannel
.
-