Class CfnChannel.FailoverConditionSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.FailoverConditionSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.FailoverConditionSettingsProperty>
- Enclosing interface:
CfnChannel.FailoverConditionSettingsProperty
@Stability(Stable)
public static final class CfnChannel.FailoverConditionSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.FailoverConditionSettingsProperty>
A builder for
CfnChannel.FailoverConditionSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaudioSilenceSettings(IResolvable audioSilenceSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getAudioSilenceSettings()audioSilenceSettings(CfnChannel.AudioSilenceFailoverSettingsProperty audioSilenceSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getAudioSilenceSettings()build()Builds the configured instance.inputLossSettings(IResolvable inputLossSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getInputLossSettings()inputLossSettings(CfnChannel.InputLossFailoverSettingsProperty inputLossSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getInputLossSettings()videoBlackSettings(IResolvable videoBlackSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getVideoBlackSettings()videoBlackSettings(CfnChannel.VideoBlackFailoverSettingsProperty videoBlackSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getVideoBlackSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioSilenceSettings
@Stability(Stable) public CfnChannel.FailoverConditionSettingsProperty.Builder audioSilenceSettings(IResolvable audioSilenceSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getAudioSilenceSettings()- Parameters:
audioSilenceSettings- MediaLive will perform a failover if the specified audio selector is silent for the specified period.- Returns:
this
-
audioSilenceSettings
@Stability(Stable) public CfnChannel.FailoverConditionSettingsProperty.Builder audioSilenceSettings(CfnChannel.AudioSilenceFailoverSettingsProperty audioSilenceSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getAudioSilenceSettings()- Parameters:
audioSilenceSettings- MediaLive will perform a failover if the specified audio selector is silent for the specified period.- Returns:
this
-
inputLossSettings
@Stability(Stable) public CfnChannel.FailoverConditionSettingsProperty.Builder inputLossSettings(IResolvable inputLossSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getInputLossSettings()- Parameters:
inputLossSettings- MediaLive will perform a failover if content is not detected in this input for the specified period.- Returns:
this
-
inputLossSettings
@Stability(Stable) public CfnChannel.FailoverConditionSettingsProperty.Builder inputLossSettings(CfnChannel.InputLossFailoverSettingsProperty inputLossSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getInputLossSettings()- Parameters:
inputLossSettings- MediaLive will perform a failover if content is not detected in this input for the specified period.- Returns:
this
-
videoBlackSettings
@Stability(Stable) public CfnChannel.FailoverConditionSettingsProperty.Builder videoBlackSettings(IResolvable videoBlackSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getVideoBlackSettings()- Parameters:
videoBlackSettings- MediaLive will perform a failover if content is considered black for the specified period.- Returns:
this
-
videoBlackSettings
@Stability(Stable) public CfnChannel.FailoverConditionSettingsProperty.Builder videoBlackSettings(CfnChannel.VideoBlackFailoverSettingsProperty videoBlackSettings) Sets the value ofCfnChannel.FailoverConditionSettingsProperty.getVideoBlackSettings()- Parameters:
videoBlackSettings- MediaLive will perform a failover if content is considered black for the specified period.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.FailoverConditionSettingsProperty>- Returns:
- a new instance of
CfnChannel.FailoverConditionSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-