Class CfnChannel.CaptionLanguageMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.CaptionLanguageMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.CaptionLanguageMappingProperty>
- Enclosing interface:
CfnChannel.CaptionLanguageMappingProperty
@Stability(Stable)
public static final class CfnChannel.CaptionLanguageMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.CaptionLanguageMappingProperty>
A builder for
CfnChannel.CaptionLanguageMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.captionChannel(Number captionChannel) Sets the value ofCfnChannel.CaptionLanguageMappingProperty.getCaptionChannel()languageCode(String languageCode) Sets the value ofCfnChannel.CaptionLanguageMappingProperty.getLanguageCode()languageDescription(String languageDescription) Sets the value ofCfnChannel.CaptionLanguageMappingProperty.getLanguageDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
captionChannel
@Stability(Stable) public CfnChannel.CaptionLanguageMappingProperty.Builder captionChannel(Number captionChannel) Sets the value ofCfnChannel.CaptionLanguageMappingProperty.getCaptionChannel()- Parameters:
captionChannel- The closed caption channel being described by this CaptionLanguageMapping. Each channel mapping must have a unique channel number (maximum of 4).- Returns:
this
-
languageCode
@Stability(Stable) public CfnChannel.CaptionLanguageMappingProperty.Builder languageCode(String languageCode) Sets the value ofCfnChannel.CaptionLanguageMappingProperty.getLanguageCode()- Parameters:
languageCode- A three-character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2).- Returns:
this
-
languageDescription
@Stability(Stable) public CfnChannel.CaptionLanguageMappingProperty.Builder languageDescription(String languageDescription) Sets the value ofCfnChannel.CaptionLanguageMappingProperty.getLanguageDescription()- Parameters:
languageDescription- The textual description of language.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.CaptionLanguageMappingProperty>- Returns:
- a new instance of
CfnChannel.CaptionLanguageMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-