Class CfnFlowPropsMixin.SilentAudioProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconnect.CfnFlowPropsMixin.SilentAudioProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.SilentAudioProperty>
- Enclosing interface:
CfnFlowPropsMixin.SilentAudioProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.SilentAudioProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.SilentAudioProperty>
A builder for
CfnFlowPropsMixin.SilentAudioProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlowPropsMixin.SilentAudioProperty.getState()thresholdSeconds(Number thresholdSeconds) Sets the value ofCfnFlowPropsMixin.SilentAudioProperty.getThresholdSeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
state
Sets the value ofCfnFlowPropsMixin.SilentAudioProperty.getState()- Parameters:
state- Indicates whether theSilentAudiometric is enabled or disabled.- Returns:
this
-
thresholdSeconds
@Stability(Stable) public CfnFlowPropsMixin.SilentAudioProperty.Builder thresholdSeconds(Number thresholdSeconds) Sets the value ofCfnFlowPropsMixin.SilentAudioProperty.getThresholdSeconds()- Parameters:
thresholdSeconds- Specifies the number of consecutive seconds of silence that triggers an event or alert.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowPropsMixin.SilentAudioProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.SilentAudioProperty - Throws:
NullPointerException- if any required attribute was not provided
-