Class CfnChannelPropsMixin.InputLossBehaviorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.InputLossBehaviorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.InputLossBehaviorProperty>
- Enclosing interface:
CfnChannelPropsMixin.InputLossBehaviorProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.InputLossBehaviorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.InputLossBehaviorProperty>
A builder for
CfnChannelPropsMixin.InputLossBehaviorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblackFrameMsec(Number blackFrameMsec) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getBlackFrameMsec()build()Builds the configured instance.inputLossImageColor(String inputLossImageColor) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getInputLossImageColor()inputLossImageSlate(CfnChannelPropsMixin.InputLocationProperty inputLossImageSlate) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getInputLossImageSlate()inputLossImageSlate(IResolvable inputLossImageSlate) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getInputLossImageSlate()inputLossImageType(String inputLossImageType) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getInputLossImageType()repeatFrameMsec(Number repeatFrameMsec) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getRepeatFrameMsec()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
blackFrameMsec
@Stability(Stable) public CfnChannelPropsMixin.InputLossBehaviorProperty.Builder blackFrameMsec(Number blackFrameMsec) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getBlackFrameMsec()- Parameters:
blackFrameMsec- On input loss, the number of milliseconds to substitute black into the output before switching to the frame specified by inputLossImageType. A value x, where 0 <= x <= 1,000,000 and a value of 1,000,000, is interpreted as infinite.- Returns:
this
-
inputLossImageColor
@Stability(Stable) public CfnChannelPropsMixin.InputLossBehaviorProperty.Builder inputLossImageColor(String inputLossImageColor) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getInputLossImageColor()- Parameters:
inputLossImageColor- When the input loss image type is "color," this field specifies the color to use. Value: 6 hex characters that represent the values of RGB.- Returns:
this
-
inputLossImageSlate
@Stability(Stable) public CfnChannelPropsMixin.InputLossBehaviorProperty.Builder inputLossImageSlate(IResolvable inputLossImageSlate) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getInputLossImageSlate()- Parameters:
inputLossImageSlate- When the input loss image type is "slate," these fields specify the parameters for accessing the slate.- Returns:
this
-
inputLossImageSlate
@Stability(Stable) public CfnChannelPropsMixin.InputLossBehaviorProperty.Builder inputLossImageSlate(CfnChannelPropsMixin.InputLocationProperty inputLossImageSlate) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getInputLossImageSlate()- Parameters:
inputLossImageSlate- When the input loss image type is "slate," these fields specify the parameters for accessing the slate.- Returns:
this
-
inputLossImageType
@Stability(Stable) public CfnChannelPropsMixin.InputLossBehaviorProperty.Builder inputLossImageType(String inputLossImageType) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getInputLossImageType()- Parameters:
inputLossImageType- Indicates whether to substitute a solid color or a slate into the output after the input loss exceeds blackFrameMsec.- Returns:
this
-
repeatFrameMsec
@Stability(Stable) public CfnChannelPropsMixin.InputLossBehaviorProperty.Builder repeatFrameMsec(Number repeatFrameMsec) Sets the value ofCfnChannelPropsMixin.InputLossBehaviorProperty.getRepeatFrameMsec()- Parameters:
repeatFrameMsec- On input loss, the number of milliseconds to repeat the previous picture before substituting black into the output. A value x, where 0 <= x <= 1,000,000 and a value of 1,000,000, is interpreted as infinite.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.InputLossBehaviorProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.InputLossBehaviorProperty - Throws:
NullPointerException- if any required attribute was not provided
-