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