Class CfnRouterInput.SilentAudioConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnRouterInput.SilentAudioConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRouterInput.SilentAudioConfigurationProperty>
- Enclosing interface:
CfnRouterInput.SilentAudioConfigurationProperty
@Stability(Stable)
public static final class CfnRouterInput.SilentAudioConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRouterInput.SilentAudioConfigurationProperty>
A builder for
CfnRouterInput.SilentAudioConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRouterInput.SilentAudioConfigurationProperty.getState()thresholdSeconds(Number thresholdSeconds) Sets the value ofCfnRouterInput.SilentAudioConfigurationProperty.getThresholdSeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
state
@Stability(Stable) public CfnRouterInput.SilentAudioConfigurationProperty.Builder state(String state) Sets the value ofCfnRouterInput.SilentAudioConfigurationProperty.getState()- Parameters:
state- the value to be set. This parameter is required.- Returns:
this
-
thresholdSeconds
@Stability(Stable) public CfnRouterInput.SilentAudioConfigurationProperty.Builder thresholdSeconds(Number thresholdSeconds) Sets the value ofCfnRouterInput.SilentAudioConfigurationProperty.getThresholdSeconds()- Parameters:
thresholdSeconds- The number of consecutive seconds of silence that MediaConnect must detect before it reports an issue. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRouterInput.SilentAudioConfigurationProperty>- Returns:
- a new instance of
CfnRouterInput.SilentAudioConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-