Class CfnChannel.Scte27SourceSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.Scte27SourceSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.Scte27SourceSettingsProperty>
- Enclosing interface:
CfnChannel.Scte27SourceSettingsProperty
@Stability(Stable)
public static final class CfnChannel.Scte27SourceSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.Scte27SourceSettingsProperty>
A builder for
CfnChannel.Scte27SourceSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ocrLanguage
(String ocrLanguage) Sets the value ofCfnChannel.Scte27SourceSettingsProperty.getOcrLanguage()
Sets the value ofCfnChannel.Scte27SourceSettingsProperty.getPid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ocrLanguage
@Stability(Stable) public CfnChannel.Scte27SourceSettingsProperty.Builder ocrLanguage(String ocrLanguage) Sets the value ofCfnChannel.Scte27SourceSettingsProperty.getOcrLanguage()
- Parameters:
ocrLanguage
- If you will configure a WebVTT caption description that references this caption selector, use this field to provide the language to consider when translating the image-based source to text.- Returns:
this
-
pid
Sets the value ofCfnChannel.Scte27SourceSettingsProperty.getPid()
- Parameters:
pid
- The PID field is used in conjunction with the captions selector languageCode field as follows: Specify PID and Language: Extracts captions from that PID;. the language is "informational." Specify PID and omit Language: Extracts the specified PID. Omit PID and specify Language: Extracts the specified language, whichever PID that happens to be. Omit PID and omit Language: Valid only if source is DVB-Sub that is being passed through; all languages are passed through.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.Scte27SourceSettingsProperty>
- Returns:
- a new instance of
CfnChannel.Scte27SourceSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-