Interface CfnChannel.CaptionSelectorProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnChannel.CaptionSelectorProperty.Jsii$Proxy
Enclosing class:
CfnChannel

@Stability(Stable) public static interface CfnChannel.CaptionSelectorProperty extends software.amazon.jsii.JsiiSerializable
Information about one caption to extract from the input.

The parent of this entity is InputSettings.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.medialive.*;
 CaptionSelectorProperty captionSelectorProperty = CaptionSelectorProperty.builder()
         .languageCode("languageCode")
         .name("name")
         .selectorSettings(CaptionSelectorSettingsProperty.builder()
                 .ancillarySourceSettings(AncillarySourceSettingsProperty.builder()
                         .sourceAncillaryChannelNumber(123)
                         .build())
                 .aribSourceSettings(AribSourceSettingsProperty.builder().build())
                 .dvbSubSourceSettings(DvbSubSourceSettingsProperty.builder()
                         .ocrLanguage("ocrLanguage")
                         .pid(123)
                         .build())
                 .embeddedSourceSettings(EmbeddedSourceSettingsProperty.builder()
                         .convert608To708("convert608To708")
                         .scte20Detection("scte20Detection")
                         .source608ChannelNumber(123)
                         .source608TrackNumber(123)
                         .build())
                 .scte20SourceSettings(Scte20SourceSettingsProperty.builder()
                         .convert608To708("convert608To708")
                         .source608ChannelNumber(123)
                         .build())
                 .scte27SourceSettings(Scte27SourceSettingsProperty.builder()
                         .ocrLanguage("ocrLanguage")
                         .pid(123)
                         .build())
                 .teletextSourceSettings(TeletextSourceSettingsProperty.builder()
                         .outputRectangle(CaptionRectangleProperty.builder()
                                 .height(123)
                                 .leftOffset(123)
                                 .topOffset(123)
                                 .width(123)
                                 .build())
                         .pageNumber("pageNumber")
                         .build())
                 .build())
         .build();
 
  • Method Details

    • getLanguageCode

      @Stability(Stable) @Nullable default String getLanguageCode()
      When specified, this field indicates the three-letter language code of the captions track to extract from the source.
    • getName

      @Stability(Stable) @Nullable default String getName()
      The name identifier for a captions selector.

      This name is used to associate this captions selector with one or more captions descriptions. Names must be unique within a channel.

    • getSelectorSettings

      @Stability(Stable) @Nullable default Object getSelectorSettings()
      Information about the specific audio to extract from the input.
    • builder

      @Stability(Stable) static CfnChannel.CaptionSelectorProperty.Builder builder()
      Returns:
      a CfnChannel.CaptionSelectorProperty.Builder of CfnChannel.CaptionSelectorProperty