Class CfnChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cdiInputSpecification(IResolvable cdiInputSpecification) Sets the value ofCfnChannelProps.getCdiInputSpecification()cdiInputSpecification(CfnChannel.CdiInputSpecificationProperty cdiInputSpecification) Sets the value ofCfnChannelProps.getCdiInputSpecification()channelClass(String channelClass) Sets the value ofCfnChannelProps.getChannelClass()destinations(List<? extends Object> destinations) Sets the value ofCfnChannelProps.getDestinations()destinations(IResolvable destinations) Sets the value ofCfnChannelProps.getDestinations()encoderSettings(IResolvable encoderSettings) Sets the value ofCfnChannelProps.getEncoderSettings()encoderSettings(CfnChannel.EncoderSettingsProperty encoderSettings) Sets the value ofCfnChannelProps.getEncoderSettings()inputAttachments(List<? extends Object> inputAttachments) Sets the value ofCfnChannelProps.getInputAttachments()inputAttachments(IResolvable inputAttachments) Sets the value ofCfnChannelProps.getInputAttachments()inputSpecification(IResolvable inputSpecification) Sets the value ofCfnChannelProps.getInputSpecification()inputSpecification(CfnChannel.InputSpecificationProperty inputSpecification) Sets the value ofCfnChannelProps.getInputSpecification()Sets the value ofCfnChannelProps.getLogLevel()maintenance(IResolvable maintenance) Sets the value ofCfnChannelProps.getMaintenance()maintenance(CfnChannel.MaintenanceCreateSettingsProperty maintenance) Sets the value ofCfnChannelProps.getMaintenance()Sets the value ofCfnChannelProps.getName()Sets the value ofCfnChannelProps.getRoleArn()Sets the value ofCfnChannelProps.getTags()vpc(IResolvable vpc) Sets the value ofCfnChannelProps.getVpc()Sets the value ofCfnChannelProps.getVpc()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cdiInputSpecification
@Stability(Stable) public CfnChannelProps.Builder cdiInputSpecification(CfnChannel.CdiInputSpecificationProperty cdiInputSpecification) Sets the value ofCfnChannelProps.getCdiInputSpecification()- Parameters:
cdiInputSpecification- Specification of CDI inputs for this channel.- Returns:
this
-
cdiInputSpecification
@Stability(Stable) public CfnChannelProps.Builder cdiInputSpecification(IResolvable cdiInputSpecification) Sets the value ofCfnChannelProps.getCdiInputSpecification()- Parameters:
cdiInputSpecification- Specification of CDI inputs for this channel.- Returns:
this
-
channelClass
Sets the value ofCfnChannelProps.getChannelClass()- Parameters:
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.- Returns:
this
-
destinations
Sets the value ofCfnChannelProps.getDestinations()- Parameters:
destinations- The settings that identify the destination for the outputs in this MediaLive output package.- Returns:
this
-
destinations
Sets the value ofCfnChannelProps.getDestinations()- Parameters:
destinations- The settings that identify the destination for the outputs in this MediaLive output package.- Returns:
this
-
encoderSettings
Sets the value ofCfnChannelProps.getEncoderSettings()- Parameters:
encoderSettings- The encoding configuration for the output content.- Returns:
this
-
encoderSettings
@Stability(Stable) public CfnChannelProps.Builder encoderSettings(CfnChannel.EncoderSettingsProperty encoderSettings) Sets the value ofCfnChannelProps.getEncoderSettings()- Parameters:
encoderSettings- The encoding configuration for the output content.- Returns:
this
-
inputAttachments
Sets the value ofCfnChannelProps.getInputAttachments()- Parameters:
inputAttachments- The list of input attachments for the channel.- Returns:
this
-
inputAttachments
@Stability(Stable) public CfnChannelProps.Builder inputAttachments(List<? extends Object> inputAttachments) Sets the value ofCfnChannelProps.getInputAttachments()- Parameters:
inputAttachments- The list of input attachments for the channel.- Returns:
this
-
inputSpecification
@Stability(Stable) public CfnChannelProps.Builder inputSpecification(IResolvable inputSpecification) Sets the value ofCfnChannelProps.getInputSpecification()- Parameters:
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.- Returns:
this
-
inputSpecification
@Stability(Stable) public CfnChannelProps.Builder inputSpecification(CfnChannel.InputSpecificationProperty inputSpecification) Sets the value ofCfnChannelProps.getInputSpecification()- Parameters:
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.- Returns:
this
-
logLevel
Sets the value ofCfnChannelProps.getLogLevel()- Parameters:
logLevel- The verbosity for logging activity for this channel. Charges for logging (which are generated through Amazon CloudWatch Logging) are higher for higher verbosities.- Returns:
this
-
maintenance
Sets the value ofCfnChannelProps.getMaintenance()- Parameters:
maintenance-AWS::MediaLive::Channel.Maintenance.- Returns:
this
-
maintenance
@Stability(Stable) public CfnChannelProps.Builder maintenance(CfnChannel.MaintenanceCreateSettingsProperty maintenance) Sets the value ofCfnChannelProps.getMaintenance()- Parameters:
maintenance-AWS::MediaLive::Channel.Maintenance.- Returns:
this
-
name
Sets the value ofCfnChannelProps.getName()- Parameters:
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.- Returns:
this
-
roleArn
Sets the value ofCfnChannelProps.getRoleArn()- Parameters:
roleArn- The IAM role for MediaLive to assume when running this channel. The role is identified by its ARN.- Returns:
this
-
tags
Sets the value ofCfnChannelProps.getTags()- Parameters:
tags- A collection of tags for this channel. Each tag is a key-value pair.- Returns:
this
-
vpc
Sets the value ofCfnChannelProps.getVpc()- Parameters:
vpc- Settings to enable VPC mode in the channel, so that the endpoints for all outputs are in your VPC.- Returns:
this
-
vpc
Sets the value ofCfnChannelProps.getVpc()- Parameters:
vpc- Settings to enable VPC mode in the channel, so that the endpoints for all outputs are in your VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelProps>- Returns:
- a new instance of
CfnChannelProps - Throws:
NullPointerException- if any required attribute was not provided
-