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