Class BlackoutSlate.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.BlackoutSlate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BlackoutSlate>
- Enclosing interface:
BlackoutSlate
@Stability(Experimental)
public static final class BlackoutSlate.Builder
extends Object
implements software.amazon.jsii.Builder<BlackoutSlate>
A builder for
BlackoutSlate-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.image(FileLocation image) Sets the value ofBlackoutSlate.getImage()networkEndBlackout(NetworkEndBlackout networkEndBlackout) Sets the value ofBlackoutSlate.getNetworkEndBlackout()networkEndBlackoutImage(FileLocation networkEndBlackoutImage) Sets the value ofBlackoutSlate.getNetworkEndBlackoutImage()Sets the value ofBlackoutSlate.getNetworkId()state(BlackoutSlateState state) Sets the value ofBlackoutSlate.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
image
Sets the value ofBlackoutSlate.getImage()- Parameters:
image- The blackout slate image. Provide aFileLocationreferencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url). Only .bmp and .png supported.- Returns:
this
-
networkEndBlackout
@Stability(Experimental) public BlackoutSlate.Builder networkEndBlackout(NetworkEndBlackout networkEndBlackout) Sets the value ofBlackoutSlate.getNetworkEndBlackout()- Parameters:
networkEndBlackout- Whether to enable network end blackout (triggered by SCTE-35 Network End Segmentation Descriptor).- Returns:
this
-
networkEndBlackoutImage
@Stability(Experimental) public BlackoutSlate.Builder networkEndBlackoutImage(FileLocation networkEndBlackoutImage) Sets the value ofBlackoutSlate.getNetworkEndBlackoutImage()- Parameters:
networkEndBlackoutImage- The network end blackout image. Provide aFileLocationreferencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url).- Returns:
this
-
networkId
Sets the value ofBlackoutSlate.getNetworkId()- Parameters:
networkId- The EIDR network ID (e.g. '10.XXXX/XXXX-XXXX-XXXX-XXXX-XXXX-C').- Returns:
this
-
state
Sets the value ofBlackoutSlate.getState()- Parameters:
state- Whether to enable the blackout slate.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BlackoutSlate>- Returns:
- a new instance of
BlackoutSlate - Throws:
NullPointerException- if any required attribute was not provided
-