Class CfnFlow.FrozenFramesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconnect.CfnFlow.FrozenFramesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.FrozenFramesProperty>
- Enclosing interface:
CfnFlow.FrozenFramesProperty
@Stability(Stable)
public static final class CfnFlow.FrozenFramesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.FrozenFramesProperty>
A builder for
CfnFlow.FrozenFramesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlow.FrozenFramesProperty.getState()thresholdSeconds(Number thresholdSeconds) Sets the value ofCfnFlow.FrozenFramesProperty.getThresholdSeconds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
state
Sets the value ofCfnFlow.FrozenFramesProperty.getState()- Parameters:
state- Indicates whether theFrozenFramesmetric is enabled or disabled.- Returns:
this
-
thresholdSeconds
@Stability(Stable) public CfnFlow.FrozenFramesProperty.Builder thresholdSeconds(Number thresholdSeconds) Sets the value ofCfnFlow.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<CfnFlow.FrozenFramesProperty>- Returns:
- a new instance of
CfnFlow.FrozenFramesProperty - Throws:
NullPointerException- if any required attribute was not provided
-