Class CfnChannel.CaptionDescriptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.CaptionDescriptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.CaptionDescriptionProperty>
- Enclosing interface:
CfnChannel.CaptionDescriptionProperty
@Stability(Stable)
public static final class CfnChannel.CaptionDescriptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.CaptionDescriptionProperty>
A builder for
CfnChannel.CaptionDescriptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessibility(String accessibility) Sets the value ofCfnChannel.CaptionDescriptionProperty.getAccessibility()build()Builds the configured instance.captionDashRoles(List<String> captionDashRoles) Sets the value ofCfnChannel.CaptionDescriptionProperty.getCaptionDashRoles()captionSelectorName(String captionSelectorName) Sets the value ofCfnChannel.CaptionDescriptionProperty.getCaptionSelectorName()destinationSettings(IResolvable destinationSettings) Sets the value ofCfnChannel.CaptionDescriptionProperty.getDestinationSettings()destinationSettings(CfnChannel.CaptionDestinationSettingsProperty destinationSettings) Sets the value ofCfnChannel.CaptionDescriptionProperty.getDestinationSettings()dvbDashAccessibility(String dvbDashAccessibility) Sets the value ofCfnChannel.CaptionDescriptionProperty.getDvbDashAccessibility()languageCode(String languageCode) Sets the value ofCfnChannel.CaptionDescriptionProperty.getLanguageCode()languageDescription(String languageDescription) Sets the value ofCfnChannel.CaptionDescriptionProperty.getLanguageDescription()Sets the value ofCfnChannel.CaptionDescriptionProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessibility
@Stability(Stable) public CfnChannel.CaptionDescriptionProperty.Builder accessibility(String accessibility) Sets the value ofCfnChannel.CaptionDescriptionProperty.getAccessibility()- Parameters:
accessibility- the value to be set.- Returns:
this
-
captionDashRoles
@Stability(Stable) public CfnChannel.CaptionDescriptionProperty.Builder captionDashRoles(List<String> captionDashRoles) Sets the value ofCfnChannel.CaptionDescriptionProperty.getCaptionDashRoles()- Parameters:
captionDashRoles- the value to be set.- Returns:
this
-
captionSelectorName
@Stability(Stable) public CfnChannel.CaptionDescriptionProperty.Builder captionSelectorName(String captionSelectorName) Sets the value ofCfnChannel.CaptionDescriptionProperty.getCaptionSelectorName()- Parameters:
captionSelectorName- Specifies which input captions selector to use as a captions source when generating output captions. This field should match a captionSelector name.- Returns:
this
-
destinationSettings
@Stability(Stable) public CfnChannel.CaptionDescriptionProperty.Builder destinationSettings(IResolvable destinationSettings) Sets the value ofCfnChannel.CaptionDescriptionProperty.getDestinationSettings()- Parameters:
destinationSettings- Additional settings for a captions destination that depend on the destination type.- Returns:
this
-
destinationSettings
@Stability(Stable) public CfnChannel.CaptionDescriptionProperty.Builder destinationSettings(CfnChannel.CaptionDestinationSettingsProperty destinationSettings) Sets the value ofCfnChannel.CaptionDescriptionProperty.getDestinationSettings()- Parameters:
destinationSettings- Additional settings for a captions destination that depend on the destination type.- Returns:
this
-
dvbDashAccessibility
@Stability(Stable) public CfnChannel.CaptionDescriptionProperty.Builder dvbDashAccessibility(String dvbDashAccessibility) Sets the value ofCfnChannel.CaptionDescriptionProperty.getDvbDashAccessibility()- Parameters:
dvbDashAccessibility- the value to be set.- Returns:
this
-
languageCode
@Stability(Stable) public CfnChannel.CaptionDescriptionProperty.Builder languageCode(String languageCode) Sets the value ofCfnChannel.CaptionDescriptionProperty.getLanguageCode()- Parameters:
languageCode- An ISO 639-2 three-digit code. For more information, see http://www.loc.gov/standards/iso639-2/.- Returns:
this
-
languageDescription
@Stability(Stable) public CfnChannel.CaptionDescriptionProperty.Builder languageDescription(String languageDescription) Sets the value ofCfnChannel.CaptionDescriptionProperty.getLanguageDescription()- Parameters:
languageDescription- Human-readable information to indicate the captions that are available for players (for example, English or Spanish).- Returns:
this
-
name
Sets the value ofCfnChannel.CaptionDescriptionProperty.getName()- Parameters:
name- The name of the captions description. The name is used to associate a captions description with an output. Names must be unique within a channel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.CaptionDescriptionProperty>- Returns:
- a new instance of
CfnChannel.CaptionDescriptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-