Class CfnChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelMixinProps>
- Enclosing interface:
CfnChannelMixinProps
@Stability(Stable)
public static final class CfnChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelMixinProps>
A builder for
CfnChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanywhereSettings(CfnChannelPropsMixin.AnywhereSettingsProperty anywhereSettings) Sets the value ofCfnChannelMixinProps.getAnywhereSettings()anywhereSettings(IResolvable anywhereSettings) Sets the value ofCfnChannelMixinProps.getAnywhereSettings()build()Builds the configured instance.cdiInputSpecification(CfnChannelPropsMixin.CdiInputSpecificationProperty cdiInputSpecification) Sets the value ofCfnChannelMixinProps.getCdiInputSpecification()cdiInputSpecification(IResolvable cdiInputSpecification) Sets the value ofCfnChannelMixinProps.getCdiInputSpecification()channelClass(String channelClass) Sets the value ofCfnChannelMixinProps.getChannelClass()channelEngineVersion(CfnChannelPropsMixin.ChannelEngineVersionRequestProperty channelEngineVersion) Sets the value ofCfnChannelMixinProps.getChannelEngineVersion()channelEngineVersion(IResolvable channelEngineVersion) Sets the value ofCfnChannelMixinProps.getChannelEngineVersion()channelSecurityGroups(List<String> channelSecurityGroups) Sets the value ofCfnChannelMixinProps.getChannelSecurityGroups()destinations(List<? extends Object> destinations) Sets the value ofCfnChannelMixinProps.getDestinations()destinations(IResolvable destinations) Sets the value ofCfnChannelMixinProps.getDestinations()Sets the value ofCfnChannelMixinProps.getDryRun()dryRun(IResolvable dryRun) Sets the value ofCfnChannelMixinProps.getDryRun()encoderSettings(CfnChannelPropsMixin.EncoderSettingsProperty encoderSettings) Sets the value ofCfnChannelMixinProps.getEncoderSettings()encoderSettings(IResolvable encoderSettings) Sets the value ofCfnChannelMixinProps.getEncoderSettings()inferenceSettings(CfnChannelPropsMixin.InferenceSettingsProperty inferenceSettings) Sets the value ofCfnChannelMixinProps.getInferenceSettings()inferenceSettings(IResolvable inferenceSettings) Sets the value ofCfnChannelMixinProps.getInferenceSettings()inputAttachments(List<? extends Object> inputAttachments) Sets the value ofCfnChannelMixinProps.getInputAttachments()inputAttachments(IResolvable inputAttachments) Sets the value ofCfnChannelMixinProps.getInputAttachments()inputSpecification(CfnChannelPropsMixin.InputSpecificationProperty inputSpecification) Sets the value ofCfnChannelMixinProps.getInputSpecification()inputSpecification(IResolvable inputSpecification) Sets the value ofCfnChannelMixinProps.getInputSpecification()linkedChannelSettings(CfnChannelPropsMixin.LinkedChannelSettingsProperty linkedChannelSettings) Sets the value ofCfnChannelMixinProps.getLinkedChannelSettings()linkedChannelSettings(IResolvable linkedChannelSettings) Sets the value ofCfnChannelMixinProps.getLinkedChannelSettings()Sets the value ofCfnChannelMixinProps.getLogLevel()Sets the value ofCfnChannelMixinProps.getMaintenance()maintenance(IResolvable maintenance) Sets the value ofCfnChannelMixinProps.getMaintenance()Sets the value ofCfnChannelMixinProps.getName()Sets the value ofCfnChannelMixinProps.getRoleArn()Sets the value ofCfnChannelMixinProps.getTags()Sets the value ofCfnChannelMixinProps.getVpc()vpc(IResolvable vpc) Sets the value ofCfnChannelMixinProps.getVpc()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anywhereSettings
@Stability(Stable) public CfnChannelMixinProps.Builder anywhereSettings(IResolvable anywhereSettings) Sets the value ofCfnChannelMixinProps.getAnywhereSettings()- Parameters:
anywhereSettings- the value to be set.- Returns:
this
-
anywhereSettings
@Stability(Stable) public CfnChannelMixinProps.Builder anywhereSettings(CfnChannelPropsMixin.AnywhereSettingsProperty anywhereSettings) Sets the value ofCfnChannelMixinProps.getAnywhereSettings()- Parameters:
anywhereSettings- the value to be set.- Returns:
this
-
cdiInputSpecification
@Stability(Stable) public CfnChannelMixinProps.Builder cdiInputSpecification(IResolvable cdiInputSpecification) Sets the value ofCfnChannelMixinProps.getCdiInputSpecification()- Parameters:
cdiInputSpecification- Specification of CDI inputs for this channel.- Returns:
this
-
cdiInputSpecification
@Stability(Stable) public CfnChannelMixinProps.Builder cdiInputSpecification(CfnChannelPropsMixin.CdiInputSpecificationProperty cdiInputSpecification) Sets the value ofCfnChannelMixinProps.getCdiInputSpecification()- Parameters:
cdiInputSpecification- Specification of CDI inputs for this channel.- Returns:
this
-
channelClass
Sets the value ofCfnChannelMixinProps.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 CfnChannelMixinProps.Builder channelEngineVersion(IResolvable channelEngineVersion) Sets the value ofCfnChannelMixinProps.getChannelEngineVersion()- Parameters:
channelEngineVersion- the value to be set.- Returns:
this
-
channelEngineVersion
@Stability(Stable) public CfnChannelMixinProps.Builder channelEngineVersion(CfnChannelPropsMixin.ChannelEngineVersionRequestProperty channelEngineVersion) Sets the value ofCfnChannelMixinProps.getChannelEngineVersion()- Parameters:
channelEngineVersion- the value to be set.- Returns:
this
-
channelSecurityGroups
@Stability(Stable) public CfnChannelMixinProps.Builder channelSecurityGroups(List<String> channelSecurityGroups) Sets the value ofCfnChannelMixinProps.getChannelSecurityGroups()- Parameters:
channelSecurityGroups- the value to be set.- Returns:
this
-
destinations
Sets the value ofCfnChannelMixinProps.getDestinations()- Parameters:
destinations- The settings that identify the destination for the outputs in this MediaLive output package.- Returns:
this
-
destinations
@Stability(Stable) public CfnChannelMixinProps.Builder destinations(List<? extends Object> destinations) Sets the value ofCfnChannelMixinProps.getDestinations()- Parameters:
destinations- The settings that identify the destination for the outputs in this MediaLive output package.- Returns:
this
-
dryRun
Sets the value ofCfnChannelMixinProps.getDryRun()- Parameters:
dryRun- the value to be set.- Returns:
this
-
dryRun
Sets the value ofCfnChannelMixinProps.getDryRun()- Parameters:
dryRun- the value to be set.- Returns:
this
-
encoderSettings
Sets the value ofCfnChannelMixinProps.getEncoderSettings()- Parameters:
encoderSettings- The encoding configuration for the output content.- Returns:
this
-
encoderSettings
@Stability(Stable) public CfnChannelMixinProps.Builder encoderSettings(CfnChannelPropsMixin.EncoderSettingsProperty encoderSettings) Sets the value ofCfnChannelMixinProps.getEncoderSettings()- Parameters:
encoderSettings- The encoding configuration for the output content.- Returns:
this
-
inferenceSettings
@Stability(Stable) public CfnChannelMixinProps.Builder inferenceSettings(IResolvable inferenceSettings) Sets the value ofCfnChannelMixinProps.getInferenceSettings()- Parameters:
inferenceSettings- the value to be set.- Returns:
this
-
inferenceSettings
@Stability(Stable) public CfnChannelMixinProps.Builder inferenceSettings(CfnChannelPropsMixin.InferenceSettingsProperty inferenceSettings) Sets the value ofCfnChannelMixinProps.getInferenceSettings()- Parameters:
inferenceSettings- the value to be set.- Returns:
this
-
inputAttachments
@Stability(Stable) public CfnChannelMixinProps.Builder inputAttachments(IResolvable inputAttachments) Sets the value ofCfnChannelMixinProps.getInputAttachments()- Parameters:
inputAttachments- The list of input attachments for the channel.- Returns:
this
-
inputAttachments
@Stability(Stable) public CfnChannelMixinProps.Builder inputAttachments(List<? extends Object> inputAttachments) Sets the value ofCfnChannelMixinProps.getInputAttachments()- Parameters:
inputAttachments- The list of input attachments for the channel.- Returns:
this
-
inputSpecification
@Stability(Stable) public CfnChannelMixinProps.Builder inputSpecification(IResolvable inputSpecification) Sets the value ofCfnChannelMixinProps.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 CfnChannelMixinProps.Builder inputSpecification(CfnChannelPropsMixin.InputSpecificationProperty inputSpecification) Sets the value ofCfnChannelMixinProps.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
-
linkedChannelSettings
@Stability(Stable) public CfnChannelMixinProps.Builder linkedChannelSettings(IResolvable linkedChannelSettings) Sets the value ofCfnChannelMixinProps.getLinkedChannelSettings()- Parameters:
linkedChannelSettings- the value to be set.- Returns:
this
-
linkedChannelSettings
@Stability(Stable) public CfnChannelMixinProps.Builder linkedChannelSettings(CfnChannelPropsMixin.LinkedChannelSettingsProperty linkedChannelSettings) Sets the value ofCfnChannelMixinProps.getLinkedChannelSettings()- Parameters:
linkedChannelSettings- the value to be set.- Returns:
this
-
logLevel
Sets the value ofCfnChannelMixinProps.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 ofCfnChannelMixinProps.getMaintenance()- Parameters:
maintenance- Maintenance settings for this channel.- Returns:
this
-
maintenance
@Stability(Stable) public CfnChannelMixinProps.Builder maintenance(CfnChannelPropsMixin.MaintenanceCreateSettingsProperty maintenance) Sets the value ofCfnChannelMixinProps.getMaintenance()- Parameters:
maintenance- Maintenance settings for this channel.- Returns:
this
-
name
Sets the value ofCfnChannelMixinProps.getName()- Parameters:
name- Name of channel.- Returns:
this
-
roleArn
Sets the value ofCfnChannelMixinProps.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 ofCfnChannelMixinProps.getTags()- Parameters:
tags- A collection of tags for this channel. Each tag is a key-value pair.- Returns:
this
-
vpc
Sets the value ofCfnChannelMixinProps.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
@Stability(Stable) public CfnChannelMixinProps.Builder vpc(CfnChannelPropsMixin.VpcOutputSettingsProperty vpc) Sets the value ofCfnChannelMixinProps.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<CfnChannelMixinProps>- Returns:
- a new instance of
CfnChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-