Class ChannelProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.ChannelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ChannelProps>
- Enclosing interface:
ChannelProps
@Stability(Experimental)
public static final class ChannelProps.Builder
extends Object
implements software.amazon.jsii.Builder<ChannelProps>
A builder for
ChannelProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanywhereSettings(AnywhereSettings anywhereSettings) Sets the value ofChannelProps.getAnywhereSettings()availBlanking(AvailBlanking availBlanking) Sets the value ofChannelProps.getAvailBlanking()availSettings(AvailSettings availSettings) Sets the value ofChannelProps.getAvailSettings()blackoutSlate(BlackoutSlate blackoutSlate) Sets the value ofChannelProps.getBlackoutSlate()build()Builds the configured instance.channelClass(ChannelClass channelClass) Sets the value ofChannelProps.getChannelClass()channelEngineVersion(String channelEngineVersion) Sets the value ofChannelProps.getChannelEngineVersion()channelName(String channelName) Sets the value ofChannelProps.getChannelName()channelSecurityGroups(List<? extends IInputSecurityGroupRef> channelSecurityGroups) Sets the value ofChannelProps.getChannelSecurityGroups()colorCorrections(List<? extends ColorCorrection> colorCorrections) Sets the value ofChannelProps.getColorCorrections()featureActivations(FeatureActivations featureActivations) Sets the value ofChannelProps.getFeatureActivations()globalConfiguration(GlobalConfiguration globalConfiguration) Sets the value ofChannelProps.getGlobalConfiguration()inferenceFeedArn(String inferenceFeedArn) Sets the value ofChannelProps.getInferenceFeedArn()inputs(List<? extends InputAttachment> inputs) Sets the value ofChannelProps.getInputs()inputSpecification(InputSpecification inputSpecification) Sets the value ofChannelProps.getInputSpecification()linkedChannelSettings(LinkedChannelSettings linkedChannelSettings) Sets the value ofChannelProps.getLinkedChannelSettings()Sets the value ofChannelProps.getLogLevel()maintenance(MaintenanceSettings maintenance) Sets the value ofChannelProps.getMaintenance()motionGraphicsConfiguration(MotionGraphicsConfiguration motionGraphicsConfiguration) Sets the value ofChannelProps.getMotionGraphicsConfiguration()nielsenConfiguration(NielsenConfiguration nielsenConfiguration) Sets the value ofChannelProps.getNielsenConfiguration()outputGroups(List<? extends OutputGroupConfiguration> outputGroups) Sets the value ofChannelProps.getOutputGroups()Sets the value ofChannelProps.getRole()scte35SegmentationScope(Scte35SegmentationScope scte35SegmentationScope) Sets the value ofChannelProps.getScte35SegmentationScope()Sets the value ofChannelProps.getTags()thumbnailConfiguration(ThumbnailConfiguration thumbnailConfiguration) Sets the value ofChannelProps.getThumbnailConfiguration()timecodeConfig(TimecodeConfig timecodeConfig) Sets the value ofChannelProps.getTimecodeConfig()vpc(VpcOutputSettings vpc) Sets the value ofChannelProps.getVpc()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputs
Sets the value ofChannelProps.getInputs()- Parameters:
inputs- The input attachments for this channel. This parameter is required. At least one is required. Additional inputs can be added withaddInput().- Returns:
this
-
outputGroups
@Stability(Experimental) public ChannelProps.Builder outputGroups(List<? extends OutputGroupConfiguration> outputGroups) Sets the value ofChannelProps.getOutputGroups()- Parameters:
outputGroups- The initial output groups for this channel. At least one is required. Additional output groups can be added withaddOutputGroup(). This parameter is required. A single channel can contain multiple output groups with different codecs (e.g. H.264 and H.265 ladders) sharing the same input.- Returns:
this
-
anywhereSettings
@Stability(Experimental) public ChannelProps.Builder anywhereSettings(AnywhereSettings anywhereSettings) Sets the value ofChannelProps.getAnywhereSettings()- Parameters:
anywhereSettings- Anywhere settings for running the channel on AWS Elemental Anywhere.- Returns:
this
-
availBlanking
Sets the value ofChannelProps.getAvailBlanking()- Parameters:
availBlanking- Settings for blanking video, audio, and captions during ad avails.- Returns:
this
-
availSettings
Sets the value ofChannelProps.getAvailSettings()- Parameters:
availSettings- Ad avail handling configuration. Defines how SCTE-35 markers are processed.- Returns:
this
-
blackoutSlate
Sets the value ofChannelProps.getBlackoutSlate()- Parameters:
blackoutSlate- Blackout slate configuration. Controls what is displayed during blackout events.- Returns:
this
-
channelClass
Sets the value ofChannelProps.getChannelClass()- Parameters:
channelClass- The class of the channel (STANDARD for redundancy, SINGLE_PIPELINE for cost savings).- Returns:
this
-
channelEngineVersion
@Stability(Experimental) public ChannelProps.Builder channelEngineVersion(String channelEngineVersion) Sets the value ofChannelProps.getChannelEngineVersion()- Parameters:
channelEngineVersion- The engine version for the channel.- Returns:
this
-
channelName
Sets the value ofChannelProps.getChannelName()- Parameters:
channelName- The name of the channel.- Returns:
this
-
channelSecurityGroups
@Stability(Experimental) public ChannelProps.Builder channelSecurityGroups(List<? extends IInputSecurityGroupRef> channelSecurityGroups) Sets the value ofChannelProps.getChannelSecurityGroups()- Parameters:
channelSecurityGroups- Input security groups to associate with the channel. Controls which IP addresses can connect to the channel's outputs (pull-style outputs where downstream systems initiate connections).- Returns:
this
-
colorCorrections
@Stability(Experimental) public ChannelProps.Builder colorCorrections(List<? extends ColorCorrection> colorCorrections) Sets the value ofChannelProps.getColorCorrections()- Parameters:
colorCorrections- Global color correction rules applied to all outputs.- Returns:
this
-
featureActivations
@Stability(Experimental) public ChannelProps.Builder featureActivations(FeatureActivations featureActivations) Sets the value ofChannelProps.getFeatureActivations()- Parameters:
featureActivations- Feature activations for the channel (e.g. Input Prepare schedule actions).- Returns:
this
-
globalConfiguration
@Stability(Experimental) public ChannelProps.Builder globalConfiguration(GlobalConfiguration globalConfiguration) Sets the value ofChannelProps.getGlobalConfiguration()- Parameters:
globalConfiguration- Global configuration settings for the channel.- Returns:
this
-
inferenceFeedArn
Sets the value ofChannelProps.getInferenceFeedArn()- Parameters:
inferenceFeedArn- An AWS Elemental Inference feed to send this channel's media to for inference processing. Future breaking change: this will change when Elemental Inference is released as an L2 construct.- Returns:
this
-
inputSpecification
@Stability(Experimental) public ChannelProps.Builder inputSpecification(InputSpecification inputSpecification) Sets the value ofChannelProps.getInputSpecification()- Parameters:
inputSpecification- The input specification for this channel. Defines the expected codec, bitrate, and resolution of the inputs, and whether they are standard, CDI, or Elemental Link inputs.- Returns:
this
-
linkedChannelSettings
@Stability(Experimental) public ChannelProps.Builder linkedChannelSettings(LinkedChannelSettings linkedChannelSettings) Sets the value ofChannelProps.getLinkedChannelSettings()- Parameters:
linkedChannelSettings- Linked channel settings for primary/follower channel configurations.- Returns:
this
-
logLevel
Sets the value ofChannelProps.getLogLevel()- Parameters:
logLevel- The log level for the channel.- Returns:
this
-
maintenance
Sets the value ofChannelProps.getMaintenance()- Parameters:
maintenance- Maintenance window configuration for the channel.- Returns:
this
-
motionGraphicsConfiguration
@Stability(Experimental) public ChannelProps.Builder motionGraphicsConfiguration(MotionGraphicsConfiguration motionGraphicsConfiguration) Sets the value ofChannelProps.getMotionGraphicsConfiguration()- Parameters:
motionGraphicsConfiguration- Motion graphics overlay configuration.- Returns:
this
-
nielsenConfiguration
@Stability(Experimental) public ChannelProps.Builder nielsenConfiguration(NielsenConfiguration nielsenConfiguration) Sets the value ofChannelProps.getNielsenConfiguration()- Parameters:
nielsenConfiguration- Nielsen watermark configuration.- Returns:
this
-
role
Sets the value ofChannelProps.getRole()- Parameters:
role- The IAM role for MediaLive to assume when running this channel. [disable-awslint:prefer-ref-interface]- Returns:
this
-
scte35SegmentationScope
@Stability(Experimental) public ChannelProps.Builder scte35SegmentationScope(Scte35SegmentationScope scte35SegmentationScope) Sets the value ofChannelProps.getScte35SegmentationScope()- Parameters:
scte35SegmentationScope- Which output groups receive SCTE-35 segmentation cues.- Returns:
this
-
tags
Sets the value ofChannelProps.getTags()- Parameters:
tags- Tags to add to the channel.- Returns:
this
-
thumbnailConfiguration
@Stability(Experimental) public ChannelProps.Builder thumbnailConfiguration(ThumbnailConfiguration thumbnailConfiguration) Sets the value ofChannelProps.getThumbnailConfiguration()- Parameters:
thumbnailConfiguration- Thumbnail generation configuration.- Returns:
this
-
timecodeConfig
Sets the value ofChannelProps.getTimecodeConfig()- Parameters:
timecodeConfig- Timecode configuration for the channel.- Returns:
this
-
vpc
Sets the value ofChannelProps.getVpc()- Parameters:
vpc- VPC output settings. When set, all output endpoints are created in the specified VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ChannelProps>- Returns:
- a new instance of
ChannelProps - Throws:
NullPointerException- if any required attribute was not provided
-