Class CfnChannelPropsMixin.CaptionLanguageMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.CaptionLanguageMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.CaptionLanguageMappingProperty>
- Enclosing interface:
CfnChannelPropsMixin.CaptionLanguageMappingProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.CaptionLanguageMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.CaptionLanguageMappingProperty>
A builder for
CfnChannelPropsMixin.CaptionLanguageMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.captionChannel(Number captionChannel) Sets the value ofCfnChannelPropsMixin.CaptionLanguageMappingProperty.getCaptionChannel()languageCode(String languageCode) Sets the value ofCfnChannelPropsMixin.CaptionLanguageMappingProperty.getLanguageCode()languageDescription(String languageDescription)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
captionChannel
@Stability(Stable) public CfnChannelPropsMixin.CaptionLanguageMappingProperty.Builder captionChannel(Number captionChannel) Sets the value ofCfnChannelPropsMixin.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 CfnChannelPropsMixin.CaptionLanguageMappingProperty.Builder languageCode(String languageCode) Sets the value ofCfnChannelPropsMixin.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 CfnChannelPropsMixin.CaptionLanguageMappingProperty.Builder languageDescription(String languageDescription) - Parameters:
languageDescription- The textual description of language.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.CaptionLanguageMappingProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.CaptionLanguageMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-