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
-
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
-
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:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.CaptionLanguageMappingProperty>
- Returns:
- a new instance of
CfnChannel.CaptionLanguageMappingProperty
- Throws:
NullPointerException
- if any required attribute was not provided