Class SmartSubtitleSourceOptions.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.SmartSubtitleSourceOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SmartSubtitleSourceOptions>
- Enclosing interface:
SmartSubtitleSourceOptions
@Stability(Experimental)
public static final class SmartSubtitleSourceOptions.Builder
extends Object
implements software.amazon.jsii.Builder<SmartSubtitleSourceOptions>
A builder for
SmartSubtitleSourceOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.captionSynchronizationMode(CaptionSynchronizationMode captionSynchronizationMode) Sets the value ofSmartSubtitleSourceOptions.getCaptionSynchronizationMode()inferenceFeedOutput(String inferenceFeedOutput) Sets the value ofSmartSubtitleSourceOptions.getInferenceFeedOutput()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
captionSynchronizationMode
@Stability(Experimental) public SmartSubtitleSourceOptions.Builder captionSynchronizationMode(CaptionSynchronizationMode captionSynchronizationMode) Sets the value ofSmartSubtitleSourceOptions.getCaptionSynchronizationMode()- Parameters:
captionSynchronizationMode- Controls whether MediaLive delays video to synchronize captions with audio and video output.- Returns:
this
-
inferenceFeedOutput
@Stability(Experimental) public SmartSubtitleSourceOptions.Builder inferenceFeedOutput(String inferenceFeedOutput) Sets the value ofSmartSubtitleSourceOptions.getInferenceFeedOutput()- Parameters:
inferenceFeedOutput- The name of the Elemental Inference feed output that provides the subtitles.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SmartSubtitleSourceOptions>- Returns:
- a new instance of
SmartSubtitleSourceOptions - Throws:
NullPointerException- if any required attribute was not provided
-