Class Scte27CaptionSourceOptions.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.Scte27CaptionSourceOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Scte27CaptionSourceOptions>
- Enclosing interface:
Scte27CaptionSourceOptions
@Stability(Experimental)
public static final class Scte27CaptionSourceOptions.Builder
extends Object
implements software.amazon.jsii.Builder<Scte27CaptionSourceOptions>
A builder for
Scte27CaptionSourceOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ocrLanguage(OcrLanguage ocrLanguage) Sets the value ofScte27CaptionSourceOptions.getOcrLanguage()Sets the value ofScte27CaptionSourceOptions.getPid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ocrLanguage
@Stability(Experimental) public Scte27CaptionSourceOptions.Builder ocrLanguage(OcrLanguage ocrLanguage) Sets the value ofScte27CaptionSourceOptions.getOcrLanguage()- Parameters:
ocrLanguage- The OCR language to use when converting this image-based source to text.- Returns:
this
-
pid
Sets the value ofScte27CaptionSourceOptions.getPid()- Parameters:
pid- The PID to extract captions from. See the MediaLive docs for how PID andlanguageCodeinteract.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Scte27CaptionSourceOptions>- Returns:
- a new instance of
Scte27CaptionSourceOptions - Throws:
NullPointerException- if any required attribute was not provided
-