Class EmbeddedCaptionSourceOptions.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.EmbeddedCaptionSourceOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EmbeddedCaptionSourceOptions>
- Enclosing interface:
EmbeddedCaptionSourceOptions
@Stability(Experimental)
public static final class EmbeddedCaptionSourceOptions.Builder
extends Object
implements software.amazon.jsii.Builder<EmbeddedCaptionSourceOptions>
A builder for
EmbeddedCaptionSourceOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.convert608To708(Convert608To708 convert608To708) Sets the value ofEmbeddedCaptionSourceOptions.getConvert608To708()scte20Detection(Scte20Detection scte20Detection) Sets the value ofEmbeddedCaptionSourceOptions.getScte20Detection()source608ChannelNumber(Number source608ChannelNumber) Sets the value ofEmbeddedCaptionSourceOptions.getSource608ChannelNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
convert608To708
@Stability(Experimental) public EmbeddedCaptionSourceOptions.Builder convert608To708(Convert608To708 convert608To708) Sets the value ofEmbeddedCaptionSourceOptions.getConvert608To708()- Parameters:
convert608To708- Whether to upconvert 608 captions to 708.- Returns:
this
-
scte20Detection
@Stability(Experimental) public EmbeddedCaptionSourceOptions.Builder scte20Detection(Scte20Detection scte20Detection) Sets the value ofEmbeddedCaptionSourceOptions.getScte20Detection()- Parameters:
scte20Detection- SCTE-20 detection mode.- Returns:
this
-
source608ChannelNumber
@Stability(Experimental) public EmbeddedCaptionSourceOptions.Builder source608ChannelNumber(Number source608ChannelNumber) Sets the value ofEmbeddedCaptionSourceOptions.getSource608ChannelNumber()- Parameters:
source608ChannelNumber- The 608/708 channel number within the video track to extract captions from.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EmbeddedCaptionSourceOptions>- Returns:
- a new instance of
EmbeddedCaptionSourceOptions - Throws:
NullPointerException- if any required attribute was not provided
-