Class CfnChannelPropsMixin.GlobalConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.GlobalConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.GlobalConfigurationProperty>
- Enclosing interface:
CfnChannelPropsMixin.GlobalConfigurationProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.GlobalConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.GlobalConfigurationProperty>
A builder for
CfnChannelPropsMixin.GlobalConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.initialAudioGain(Number initialAudioGain) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getInitialAudioGain()inputEndAction(String inputEndAction) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getInputEndAction()inputLossBehavior(CfnChannelPropsMixin.InputLossBehaviorProperty inputLossBehavior) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getInputLossBehavior()inputLossBehavior(IResolvable inputLossBehavior) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getInputLossBehavior()outputLockingMode(String outputLockingMode) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getOutputLockingMode()outputLockingSettings(CfnChannelPropsMixin.OutputLockingSettingsProperty outputLockingSettings) outputLockingSettings(IResolvable outputLockingSettings) outputTimingSource(String outputTimingSource) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getOutputTimingSource()supportLowFramerateInputs(String supportLowFramerateInputs)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
initialAudioGain
@Stability(Stable) public CfnChannelPropsMixin.GlobalConfigurationProperty.Builder initialAudioGain(Number initialAudioGain) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getInitialAudioGain()- Parameters:
initialAudioGain- The value to set the initial audio gain for the channel.- Returns:
this
-
inputEndAction
@Stability(Stable) public CfnChannelPropsMixin.GlobalConfigurationProperty.Builder inputEndAction(String inputEndAction) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getInputEndAction()- Parameters:
inputEndAction- Indicates the action to take when the current input completes (for example, end-of-file). When switchAndLoopInputs is configured, MediaLive restarts at the beginning of the first input. When "none" is configured, MediaLive transcodes either black, a solid color, or a user-specified slate images per the "Input Loss Behavior" configuration until the next input switch occurs (which is controlled through the Channel Schedule API).- Returns:
this
-
inputLossBehavior
@Stability(Stable) public CfnChannelPropsMixin.GlobalConfigurationProperty.Builder inputLossBehavior(IResolvable inputLossBehavior) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getInputLossBehavior()- Parameters:
inputLossBehavior- The settings for system actions when the input is lost.- Returns:
this
-
inputLossBehavior
@Stability(Stable) public CfnChannelPropsMixin.GlobalConfigurationProperty.Builder inputLossBehavior(CfnChannelPropsMixin.InputLossBehaviorProperty inputLossBehavior) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getInputLossBehavior()- Parameters:
inputLossBehavior- The settings for system actions when the input is lost.- Returns:
this
-
outputLockingMode
@Stability(Stable) public CfnChannelPropsMixin.GlobalConfigurationProperty.Builder outputLockingMode(String outputLockingMode) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getOutputLockingMode()- Parameters:
outputLockingMode- Indicates how MediaLive pipelines are synchronized. PIPELINELOCKING - MediaLive attempts to synchronize the output of each pipeline to the other. EPOCHLOCKING - MediaLive attempts to synchronize the output of each pipeline to the Unix epoch.- Returns:
this
-
outputLockingSettings
@Stability(Stable) public CfnChannelPropsMixin.GlobalConfigurationProperty.Builder outputLockingSettings(IResolvable outputLockingSettings) - Parameters:
outputLockingSettings- the value to be set.- Returns:
this
-
outputLockingSettings
@Stability(Stable) public CfnChannelPropsMixin.GlobalConfigurationProperty.Builder outputLockingSettings(CfnChannelPropsMixin.OutputLockingSettingsProperty outputLockingSettings) - Parameters:
outputLockingSettings- the value to be set.- Returns:
this
-
outputTimingSource
@Stability(Stable) public CfnChannelPropsMixin.GlobalConfigurationProperty.Builder outputTimingSource(String outputTimingSource) Sets the value ofCfnChannelPropsMixin.GlobalConfigurationProperty.getOutputTimingSource()- Parameters:
outputTimingSource- Indicates whether the rate of frames emitted by the Live encoder should be paced by its system clock (which optionally might be locked to another source through NTP) or should be locked to the clock of the source that is providing the input stream.- Returns:
this
-
supportLowFramerateInputs
@Stability(Stable) public CfnChannelPropsMixin.GlobalConfigurationProperty.Builder supportLowFramerateInputs(String supportLowFramerateInputs) - Parameters:
supportLowFramerateInputs- Adjusts the video input buffer for streams with very low video frame rates. This is commonly set to enabled for music channels with less than one video frame per second.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.GlobalConfigurationProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.GlobalConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-