Class CfnChannel.WebvttDestinationSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.WebvttDestinationSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.WebvttDestinationSettingsProperty>
- Enclosing interface:
CfnChannel.WebvttDestinationSettingsProperty
@Stability(Stable)
public static final class CfnChannel.WebvttDestinationSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.WebvttDestinationSettingsProperty>
A builder for
CfnChannel.WebvttDestinationSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.styleControl
(String styleControl) Sets the value ofCfnChannel.WebvttDestinationSettingsProperty.getStyleControl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
styleControl
@Stability(Stable) public CfnChannel.WebvttDestinationSettingsProperty.Builder styleControl(String styleControl) Sets the value ofCfnChannel.WebvttDestinationSettingsProperty.getStyleControl()
- Parameters:
styleControl
- Controls whether the color and position of the source captions is passed through to the WebVTT output captions. PASSTHROUGH - Valid only if the source captions are EMBEDDED or TELETEXT. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.WebvttDestinationSettingsProperty>
- Returns:
- a new instance of
CfnChannel.WebvttDestinationSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-