Class CfnChannel.DvbSubSourceSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.DvbSubSourceSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.DvbSubSourceSettingsProperty>
- Enclosing interface:
CfnChannel.DvbSubSourceSettingsProperty
@Stability(Stable)
public static final class CfnChannel.DvbSubSourceSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.DvbSubSourceSettingsProperty>
A builder for
CfnChannel.DvbSubSourceSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ocrLanguage
(String ocrLanguage) Sets the value ofCfnChannel.DvbSubSourceSettingsProperty.getOcrLanguage()
Sets the value ofCfnChannel.DvbSubSourceSettingsProperty.getPid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ocrLanguage
@Stability(Stable) public CfnChannel.DvbSubSourceSettingsProperty.Builder ocrLanguage(String ocrLanguage) Sets the value ofCfnChannel.DvbSubSourceSettingsProperty.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.DvbSubSourceSettingsProperty.getPid()
- Parameters:
pid
- When using DVB-Sub with burn-in or SMPTE-TT, use this PID for the source content. It is unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.DvbSubSourceSettingsProperty>
- Returns:
- a new instance of
CfnChannel.DvbSubSourceSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-