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