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