Class CmafCaptionLanguageMapping.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.CmafCaptionLanguageMapping.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CmafCaptionLanguageMapping>
- Enclosing interface:
CmafCaptionLanguageMapping
@Stability(Experimental)
public static final class CmafCaptionLanguageMapping.Builder
extends Object
implements software.amazon.jsii.Builder<CmafCaptionLanguageMapping>
A builder for
CmafCaptionLanguageMapping-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.captionChannel(Number captionChannel) Sets the value ofCmafCaptionLanguageMapping.getCaptionChannel()languageCode(String languageCode) Sets the value ofCmafCaptionLanguageMapping.getLanguageCode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
captionChannel
@Stability(Experimental) public CmafCaptionLanguageMapping.Builder captionChannel(Number captionChannel) Sets the value ofCmafCaptionLanguageMapping.getCaptionChannel()- Parameters:
captionChannel- The closed caption channel number (1-4). This parameter is required.- Returns:
this
-
languageCode
@Stability(Experimental) public CmafCaptionLanguageMapping.Builder languageCode(String languageCode) Sets the value ofCmafCaptionLanguageMapping.getLanguageCode()- Parameters:
languageCode- A three-character ISO 639-2 language code. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CmafCaptionLanguageMapping>- Returns:
- a new instance of
CmafCaptionLanguageMapping - Throws:
NullPointerException- if any required attribute was not provided
-