Class CfnChannel.AudioSilenceFailoverSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.AudioSilenceFailoverSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.AudioSilenceFailoverSettingsProperty>
- Enclosing interface:
CfnChannel.AudioSilenceFailoverSettingsProperty
@Stability(Stable)
public static final class CfnChannel.AudioSilenceFailoverSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.AudioSilenceFailoverSettingsProperty>
A builder for
CfnChannel.AudioSilenceFailoverSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaudioSelectorName
(String audioSelectorName) Sets the value ofCfnChannel.AudioSilenceFailoverSettingsProperty.getAudioSelectorName()
audioSilenceThresholdMsec
(Number audioSilenceThresholdMsec) build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioSelectorName
@Stability(Stable) public CfnChannel.AudioSilenceFailoverSettingsProperty.Builder audioSelectorName(String audioSelectorName) Sets the value ofCfnChannel.AudioSilenceFailoverSettingsProperty.getAudioSelectorName()
- Parameters:
audioSelectorName
- The name of the audio selector in the input that MediaLive should monitor to detect silence. Select your most important rendition. If you didn't create an audio selector in this input, leave blank.- Returns:
this
-
audioSilenceThresholdMsec
@Stability(Stable) public CfnChannel.AudioSilenceFailoverSettingsProperty.Builder audioSilenceThresholdMsec(Number audioSilenceThresholdMsec) - Parameters:
audioSilenceThresholdMsec
- The amount of time (in milliseconds) that the active input must be silent before automatic input failover occurs. Silence is defined as audio loss or audio quieter than -50 dBFS.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.AudioSilenceFailoverSettingsProperty>
- Returns:
- a new instance of
CfnChannel.AudioSilenceFailoverSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-