Class AvailBlanking.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.AvailBlanking.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AvailBlanking>
- Enclosing interface:
AvailBlanking
@Stability(Experimental)
public static final class AvailBlanking.Builder
extends Object
implements software.amazon.jsii.Builder<AvailBlanking>
A builder for
AvailBlanking-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.image(FileLocation image) Sets the value ofAvailBlanking.getImage()state(AvailBlankingState state) Sets the value ofAvailBlanking.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
image
Sets the value ofAvailBlanking.getImage()- Parameters:
image- A blanking image to display during ad avails. Provide aFileLocationreferencing an S3 bucket (FileLocation.fromBucket, which auto-grants read access) or a URL (FileLocation.url). Only .bmp and .png images are supported. If not set, solid black is used.- Returns:
this
-
state
Sets the value ofAvailBlanking.getState()- Parameters:
state- Whether to blank the output during ad avails.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AvailBlanking>- Returns:
- a new instance of
AvailBlanking - Throws:
NullPointerException- if any required attribute was not provided
-