Class CfnChannel.AvailBlankingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.AvailBlankingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.AvailBlankingProperty>
- Enclosing interface:
CfnChannel.AvailBlankingProperty
@Stability(Stable)
public static final class CfnChannel.AvailBlankingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.AvailBlankingProperty>
A builder for
CfnChannel.AvailBlankingProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionavailBlankingImage
(IResolvable availBlankingImage) Sets the value ofCfnChannel.AvailBlankingProperty.getAvailBlankingImage()
availBlankingImage
(CfnChannel.InputLocationProperty availBlankingImage) Sets the value ofCfnChannel.AvailBlankingProperty.getAvailBlankingImage()
build()
Builds the configured instance.Sets the value ofCfnChannel.AvailBlankingProperty.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availBlankingImage
@Stability(Stable) public CfnChannel.AvailBlankingProperty.Builder availBlankingImage(IResolvable availBlankingImage) Sets the value ofCfnChannel.AvailBlankingProperty.getAvailBlankingImage()
- Parameters:
availBlankingImage
- The blanking image to be used. Keep empty for solid black. Only .bmp and .png images are supported.- Returns:
this
-
availBlankingImage
@Stability(Stable) public CfnChannel.AvailBlankingProperty.Builder availBlankingImage(CfnChannel.InputLocationProperty availBlankingImage) Sets the value ofCfnChannel.AvailBlankingProperty.getAvailBlankingImage()
- Parameters:
availBlankingImage
- The blanking image to be used. Keep empty for solid black. Only .bmp and .png images are supported.- Returns:
this
-
state
Sets the value ofCfnChannel.AvailBlankingProperty.getState()
- Parameters:
state
- When set to enabled, the video, audio, and captions are blanked when insertion metadata is added.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.AvailBlankingProperty>
- Returns:
- a new instance of
CfnChannel.AvailBlankingProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-