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 TypeMethodDescriptionanywhereSettings(IResolvable anywhereSettings) Sets the value ofCfnChannelProps.getAnywhereSettings()anywhereSettings(CfnChannel.AnywhereSettingsProperty anywhereSettings) Sets the value ofCfnChannelProps.getAnywhereSettings()build()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()channelEngineVersion(IResolvable channelEngineVersion) Sets the value ofCfnChannelProps.getChannelEngineVersion()channelEngineVersion(CfnChannel.ChannelEngineVersionRequestProperty channelEngineVersion) Sets the value ofCfnChannelProps.getChannelEngineVersion()destinations(List<? extends Object> destinations) Sets the value ofCfnChannelProps.getDestinations()destinations(IResolvable destinations) Sets the value ofCfnChannelProps.getDestinations()Sets the value ofCfnChannelProps.getDryRun()dryRun(IResolvable dryRun) Sets the value ofCfnChannelProps.getDryRun()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
-
anywhereSettings
Sets the value ofCfnChannelProps.getAnywhereSettings()- Parameters:
anywhereSettings- the value to be set.- Returns:
this
-
anywhereSettings
@Stability(Stable) public CfnChannelProps.Builder anywhereSettings(CfnChannel.AnywhereSettingsProperty anywhereSettings) Sets the value ofCfnChannelProps.getAnywhereSettings()- Parameters:
anywhereSettings- the value to be set.- 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
-
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
-
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
-
channelEngineVersion
@Stability(Stable) public CfnChannelProps.Builder channelEngineVersion(IResolvable channelEngineVersion) Sets the value ofCfnChannelProps.getChannelEngineVersion()- Parameters:
channelEngineVersion- the value to be set.- Returns:
this
-
channelEngineVersion
@Stability(Stable) public CfnChannelProps.Builder channelEngineVersion(CfnChannel.ChannelEngineVersionRequestProperty channelEngineVersion) Sets the value ofCfnChannelProps.getChannelEngineVersion()- Parameters:
channelEngineVersion- the value to be set.- 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
-
dryRun
Sets the value ofCfnChannelProps.getDryRun()- Parameters:
dryRun- the value to be set.- Returns:
this
-
dryRun
Sets the value ofCfnChannelProps.getDryRun()- Parameters:
dryRun- the value to be set.- 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- Maintenance settings for this channel.- Returns:
this
-
maintenance
@Stability(Stable) public CfnChannelProps.Builder maintenance(CfnChannel.MaintenanceCreateSettingsProperty maintenance) Sets the value ofCfnChannelProps.getMaintenance()- Parameters:
maintenance- Maintenance settings for this channel.- Returns:
this
-
name
Sets the value ofCfnChannelProps.getName()- Parameters:
name- Name of channel.- 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
-