Class CfnChannel.BlackoutSlateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.BlackoutSlateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.BlackoutSlateProperty>
- Enclosing interface:
CfnChannel.BlackoutSlateProperty
@Stability(Stable)
public static final class CfnChannel.BlackoutSlateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.BlackoutSlateProperty>
A builder for
CfnChannel.BlackoutSlateProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionblackoutSlateImage
(IResolvable blackoutSlateImage) Sets the value ofCfnChannel.BlackoutSlateProperty.getBlackoutSlateImage()
blackoutSlateImage
(CfnChannel.InputLocationProperty blackoutSlateImage) Sets the value ofCfnChannel.BlackoutSlateProperty.getBlackoutSlateImage()
build()
Builds the configured instance.networkEndBlackout
(String networkEndBlackout) Sets the value ofCfnChannel.BlackoutSlateProperty.getNetworkEndBlackout()
networkEndBlackoutImage
(IResolvable networkEndBlackoutImage) Sets the value ofCfnChannel.BlackoutSlateProperty.getNetworkEndBlackoutImage()
networkEndBlackoutImage
(CfnChannel.InputLocationProperty networkEndBlackoutImage) Sets the value ofCfnChannel.BlackoutSlateProperty.getNetworkEndBlackoutImage()
Sets the value ofCfnChannel.BlackoutSlateProperty.getNetworkId()
Sets the value ofCfnChannel.BlackoutSlateProperty.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
blackoutSlateImage
@Stability(Stable) public CfnChannel.BlackoutSlateProperty.Builder blackoutSlateImage(IResolvable blackoutSlateImage) Sets the value ofCfnChannel.BlackoutSlateProperty.getBlackoutSlateImage()
- Parameters:
blackoutSlateImage
- The blackout slate image to be used. Keep empty for solid black. Only .bmp and .png images are supported.- Returns:
this
-
blackoutSlateImage
@Stability(Stable) public CfnChannel.BlackoutSlateProperty.Builder blackoutSlateImage(CfnChannel.InputLocationProperty blackoutSlateImage) Sets the value ofCfnChannel.BlackoutSlateProperty.getBlackoutSlateImage()
- Parameters:
blackoutSlateImage
- The blackout slate image to be used. Keep empty for solid black. Only .bmp and .png images are supported.- Returns:
this
-
networkEndBlackout
@Stability(Stable) public CfnChannel.BlackoutSlateProperty.Builder networkEndBlackout(String networkEndBlackout) Sets the value ofCfnChannel.BlackoutSlateProperty.getNetworkEndBlackout()
- Parameters:
networkEndBlackout
- Setting to enabled causes MediaLive to blackout the video, audio, and captions, and raise the "Network Blackout Image" slate when an SCTE104/35 Network End Segmentation Descriptor is encountered. The blackout is lifted when the Network Start Segmentation Descriptor is encountered. The Network End and Network Start descriptors must contain a network ID that matches the value entered in Network ID.- Returns:
this
-
networkEndBlackoutImage
@Stability(Stable) public CfnChannel.BlackoutSlateProperty.Builder networkEndBlackoutImage(IResolvable networkEndBlackoutImage) Sets the value ofCfnChannel.BlackoutSlateProperty.getNetworkEndBlackoutImage()
- Parameters:
networkEndBlackoutImage
- The path to the local file to use as the Network End Blackout image. The image is scaled to fill the entire output raster.- Returns:
this
-
networkEndBlackoutImage
@Stability(Stable) public CfnChannel.BlackoutSlateProperty.Builder networkEndBlackoutImage(CfnChannel.InputLocationProperty networkEndBlackoutImage) Sets the value ofCfnChannel.BlackoutSlateProperty.getNetworkEndBlackoutImage()
- Parameters:
networkEndBlackoutImage
- The path to the local file to use as the Network End Blackout image. The image is scaled to fill the entire output raster.- Returns:
this
-
networkId
Sets the value ofCfnChannel.BlackoutSlateProperty.getNetworkId()
- Parameters:
networkId
- Provides a Network ID that matches EIDR ID format (for example, "10.XXXX/XXXX-XXXX-XXXX-XXXX-XXXX-C").- Returns:
this
-
state
Sets the value ofCfnChannel.BlackoutSlateProperty.getState()
- Parameters:
state
- When set to enabled, this causes video, audio, and captions to be blanked when indicated by program metadata.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.BlackoutSlateProperty>
- Returns:
- a new instance of
CfnChannel.BlackoutSlateProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-