Class CfnChannel.CaptionSelectorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.CaptionSelectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.CaptionSelectorProperty>
- Enclosing interface:
CfnChannel.CaptionSelectorProperty
@Stability(Stable)
public static final class CfnChannel.CaptionSelectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.CaptionSelectorProperty>
A builder for
CfnChannel.CaptionSelectorProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.languageCode
(String languageCode) Sets the value ofCfnChannel.CaptionSelectorProperty.getLanguageCode()
Sets the value ofCfnChannel.CaptionSelectorProperty.getName()
selectorSettings
(IResolvable selectorSettings) Sets the value ofCfnChannel.CaptionSelectorProperty.getSelectorSettings()
selectorSettings
(CfnChannel.CaptionSelectorSettingsProperty selectorSettings) Sets the value ofCfnChannel.CaptionSelectorProperty.getSelectorSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
languageCode
@Stability(Stable) public CfnChannel.CaptionSelectorProperty.Builder languageCode(String languageCode) Sets the value ofCfnChannel.CaptionSelectorProperty.getLanguageCode()
- Parameters:
languageCode
- When specified, this field indicates the three-letter language code of the captions track to extract from the source.- Returns:
this
-
name
Sets the value ofCfnChannel.CaptionSelectorProperty.getName()
- Parameters:
name
- The name identifier for a captions selector. This name is used to associate this captions selector with one or more captions descriptions. Names must be unique within a channel.- Returns:
this
-
selectorSettings
@Stability(Stable) public CfnChannel.CaptionSelectorProperty.Builder selectorSettings(IResolvable selectorSettings) Sets the value ofCfnChannel.CaptionSelectorProperty.getSelectorSettings()
- Parameters:
selectorSettings
- Information about the specific audio to extract from the input.- Returns:
this
-
selectorSettings
@Stability(Stable) public CfnChannel.CaptionSelectorProperty.Builder selectorSettings(CfnChannel.CaptionSelectorSettingsProperty selectorSettings) Sets the value ofCfnChannel.CaptionSelectorProperty.getSelectorSettings()
- Parameters:
selectorSettings
- Information about the specific audio to extract from the input.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.CaptionSelectorProperty>
- Returns:
- a new instance of
CfnChannel.CaptionSelectorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-