Interface BurninDestinationSettings.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BurninDestinationSettings.Builder,BurninDestinationSettings>, SdkBuilder<BurninDestinationSettings.Builder,BurninDestinationSettings>, SdkPojo
Enclosing class:
BurninDestinationSettings

public static interface BurninDestinationSettings.Builder extends SdkPojo, CopyableBuilder<BurninDestinationSettings.Builder,BurninDestinationSettings>
  • Method Details

    • alignment

      Specify the alignment of your captions. If no explicit x_position is provided, setting alignment to centered will placethe captions at the bottom center of the output. Similarly, setting a left alignment willalign captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates.
      Parameters:
      alignment - Specify the alignment of your captions. If no explicit x_position is provided, setting alignment to centered will placethe captions at the bottom center of the output. Similarly, setting a left alignment willalign captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • alignment

      Specify the alignment of your captions. If no explicit x_position is provided, setting alignment to centered will placethe captions at the bottom center of the output. Similarly, setting a left alignment willalign captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates.
      Parameters:
      alignment - Specify the alignment of your captions. If no explicit x_position is provided, setting alignment to centered will placethe captions at the bottom center of the output. Similarly, setting a left alignment willalign captions to the bottom left of the output. If x and y positions are given in conjunction with the alignment parameter, the font will be justified (either left or centered) relative to those coordinates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • applyFontColor

      BurninDestinationSettings.Builder applyFontColor(String applyFontColor)
      Ignore this setting unless Style passthrough is set to Enabled and Font color set to Black, Yellow, Red, Green, Blue, or Hex. Use Apply font color for additional font color controls. When you choose White text only, or leave blank, your font color setting only applies to white text in your input captions. For example, if your font color setting is Yellow, and your input captions have red and white text, your output captions will have red and yellow text. When you choose ALL_TEXT, your font color setting applies to all of your output captions text.
      Parameters:
      applyFontColor - Ignore this setting unless Style passthrough is set to Enabled and Font color set to Black, Yellow, Red, Green, Blue, or Hex. Use Apply font color for additional font color controls. When you choose White text only, or leave blank, your font color setting only applies to white text in your input captions. For example, if your font color setting is Yellow, and your input captions have red and white text, your output captions will have red and yellow text. When you choose ALL_TEXT, your font color setting applies to all of your output captions text.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • applyFontColor

      Ignore this setting unless Style passthrough is set to Enabled and Font color set to Black, Yellow, Red, Green, Blue, or Hex. Use Apply font color for additional font color controls. When you choose White text only, or leave blank, your font color setting only applies to white text in your input captions. For example, if your font color setting is Yellow, and your input captions have red and white text, your output captions will have red and yellow text. When you choose ALL_TEXT, your font color setting applies to all of your output captions text.
      Parameters:
      applyFontColor - Ignore this setting unless Style passthrough is set to Enabled and Font color set to Black, Yellow, Red, Green, Blue, or Hex. Use Apply font color for additional font color controls. When you choose White text only, or leave blank, your font color setting only applies to white text in your input captions. For example, if your font color setting is Yellow, and your input captions have red and white text, your output captions will have red and yellow text. When you choose ALL_TEXT, your font color setting applies to all of your output captions text.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • backgroundColor

      BurninDestinationSettings.Builder backgroundColor(String backgroundColor)
      Specify the color of the rectangle behind the captions. Leave background color blank and set Style passthrough to enabled to use the background color data from your input captions, if present.
      Parameters:
      backgroundColor - Specify the color of the rectangle behind the captions. Leave background color blank and set Style passthrough to enabled to use the background color data from your input captions, if present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • backgroundColor

      Specify the color of the rectangle behind the captions. Leave background color blank and set Style passthrough to enabled to use the background color data from your input captions, if present.
      Parameters:
      backgroundColor - Specify the color of the rectangle behind the captions. Leave background color blank and set Style passthrough to enabled to use the background color data from your input captions, if present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • backgroundOpacity

      BurninDestinationSettings.Builder backgroundOpacity(Integer backgroundOpacity)
      Specify the opacity of the background rectangle. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough is set to enabled, leave blank to pass through the background style information in your input captions to your output captions. If Style passthrough is set to disabled, leave blank to use a value of 0 and remove all backgrounds from your output captions.
      Parameters:
      backgroundOpacity - Specify the opacity of the background rectangle. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough is set to enabled, leave blank to pass through the background style information in your input captions to your output captions. If Style passthrough is set to disabled, leave blank to use a value of 0 and remove all backgrounds from your output captions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fallbackFont

      BurninDestinationSettings.Builder fallbackFont(String fallbackFont)
      Specify the font that you want the service to use for your burn in captions when your input captions specify a font that MediaConvert doesn't support. When you set Fallback font to best match, or leave blank, MediaConvert uses a supported font that most closely matches the font that your input captions specify. When there are multiple unsupported fonts in your input captions, MediaConvert matches each font with the supported font that matches best. When you explicitly choose a replacement font, MediaConvert uses that font to replace all unsupported fonts from your input.
      Parameters:
      fallbackFont - Specify the font that you want the service to use for your burn in captions when your input captions specify a font that MediaConvert doesn't support. When you set Fallback font to best match, or leave blank, MediaConvert uses a supported font that most closely matches the font that your input captions specify. When there are multiple unsupported fonts in your input captions, MediaConvert matches each font with the supported font that matches best. When you explicitly choose a replacement font, MediaConvert uses that font to replace all unsupported fonts from your input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fallbackFont

      Specify the font that you want the service to use for your burn in captions when your input captions specify a font that MediaConvert doesn't support. When you set Fallback font to best match, or leave blank, MediaConvert uses a supported font that most closely matches the font that your input captions specify. When there are multiple unsupported fonts in your input captions, MediaConvert matches each font with the supported font that matches best. When you explicitly choose a replacement font, MediaConvert uses that font to replace all unsupported fonts from your input.
      Parameters:
      fallbackFont - Specify the font that you want the service to use for your burn in captions when your input captions specify a font that MediaConvert doesn't support. When you set Fallback font to best match, or leave blank, MediaConvert uses a supported font that most closely matches the font that your input captions specify. When there are multiple unsupported fonts in your input captions, MediaConvert matches each font with the supported font that matches best. When you explicitly choose a replacement font, MediaConvert uses that font to replace all unsupported fonts from your input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fontColor

      Specify the color of the burned-in captions text. Leave Font color blank and set Style passthrough to enabled to use the font color data from your input captions, if present.
      Parameters:
      fontColor - Specify the color of the burned-in captions text. Leave Font color blank and set Style passthrough to enabled to use the font color data from your input captions, if present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fontColor

      Specify the color of the burned-in captions text. Leave Font color blank and set Style passthrough to enabled to use the font color data from your input captions, if present.
      Parameters:
      fontColor - Specify the color of the burned-in captions text. Leave Font color blank and set Style passthrough to enabled to use the font color data from your input captions, if present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fontOpacity

      BurninDestinationSettings.Builder fontOpacity(Integer fontOpacity)
      Specify the opacity of the burned-in captions. 255 is opaque; 0 is transparent.
      Parameters:
      fontOpacity - Specify the opacity of the burned-in captions. 255 is opaque; 0 is transparent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fontResolution

      BurninDestinationSettings.Builder fontResolution(Integer fontResolution)
      Specify the Font resolution in DPI (dots per inch).
      Parameters:
      fontResolution - Specify the Font resolution in DPI (dots per inch).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fontScript

      BurninDestinationSettings.Builder fontScript(String fontScript)
      Set Font script to Automatically determined, or leave blank, to automatically determine the font script in your input captions. Otherwise, set to Simplified Chinese (HANS) or Traditional Chinese (HANT) if your input font script uses Simplified or Traditional Chinese.
      Parameters:
      fontScript - Set Font script to Automatically determined, or leave blank, to automatically determine the font script in your input captions. Otherwise, set to Simplified Chinese (HANS) or Traditional Chinese (HANT) if your input font script uses Simplified or Traditional Chinese.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fontScript

      Set Font script to Automatically determined, or leave blank, to automatically determine the font script in your input captions. Otherwise, set to Simplified Chinese (HANS) or Traditional Chinese (HANT) if your input font script uses Simplified or Traditional Chinese.
      Parameters:
      fontScript - Set Font script to Automatically determined, or leave blank, to automatically determine the font script in your input captions. Otherwise, set to Simplified Chinese (HANS) or Traditional Chinese (HANT) if your input font script uses Simplified or Traditional Chinese.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fontSize

      Specify the Font size in pixels. Must be a positive integer. Set to 0, or leave blank, for automatic font size.
      Parameters:
      fontSize - Specify the Font size in pixels. Must be a positive integer. Set to 0, or leave blank, for automatic font size.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hexFontColor

      BurninDestinationSettings.Builder hexFontColor(String hexFontColor)
      Ignore this setting unless your Font color is set to Hex. Enter either six or eight hexidecimal digits, representing red, green, and blue, with two optional extra digits for alpha. For example a value of 1122AABB is a red value of 0x11, a green value of 0x22, a blue value of 0xAA, and an alpha value of 0xBB.
      Parameters:
      hexFontColor - Ignore this setting unless your Font color is set to Hex. Enter either six or eight hexidecimal digits, representing red, green, and blue, with two optional extra digits for alpha. For example a value of 1122AABB is a red value of 0x11, a green value of 0x22, a blue value of 0xAA, and an alpha value of 0xBB.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outlineColor

      BurninDestinationSettings.Builder outlineColor(String outlineColor)
      Specify font outline color. Leave Outline color blank and set Style passthrough to enabled to use the font outline color data from your input captions, if present.
      Parameters:
      outlineColor - Specify font outline color. Leave Outline color blank and set Style passthrough to enabled to use the font outline color data from your input captions, if present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outlineColor

      Specify font outline color. Leave Outline color blank and set Style passthrough to enabled to use the font outline color data from your input captions, if present.
      Parameters:
      outlineColor - Specify font outline color. Leave Outline color blank and set Style passthrough to enabled to use the font outline color data from your input captions, if present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outlineSize

      BurninDestinationSettings.Builder outlineSize(Integer outlineSize)
      Specify the Outline size of the caption text, in pixels. Leave Outline size blank and set Style passthrough to enabled to use the outline size data from your input captions, if present.
      Parameters:
      outlineSize - Specify the Outline size of the caption text, in pixels. Leave Outline size blank and set Style passthrough to enabled to use the outline size data from your input captions, if present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • shadowColor

      BurninDestinationSettings.Builder shadowColor(String shadowColor)
      Specify the color of the shadow cast by the captions. Leave Shadow color blank and set Style passthrough to enabled to use the shadow color data from your input captions, if present.
      Parameters:
      shadowColor - Specify the color of the shadow cast by the captions. Leave Shadow color blank and set Style passthrough to enabled to use the shadow color data from your input captions, if present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • shadowColor

      Specify the color of the shadow cast by the captions. Leave Shadow color blank and set Style passthrough to enabled to use the shadow color data from your input captions, if present.
      Parameters:
      shadowColor - Specify the color of the shadow cast by the captions. Leave Shadow color blank and set Style passthrough to enabled to use the shadow color data from your input captions, if present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • shadowOpacity

      BurninDestinationSettings.Builder shadowOpacity(Integer shadowOpacity)
      Specify the opacity of the shadow. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough is set to Enabled, leave Shadow opacity blank to pass through the shadow style information in your input captions to your output captions. If Style passthrough is set to disabled, leave blank to use a value of 0 and remove all shadows from your output captions.
      Parameters:
      shadowOpacity - Specify the opacity of the shadow. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough is set to Enabled, leave Shadow opacity blank to pass through the shadow style information in your input captions to your output captions. If Style passthrough is set to disabled, leave blank to use a value of 0 and remove all shadows from your output captions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • shadowXOffset

      BurninDestinationSettings.Builder shadowXOffset(Integer shadowXOffset)
      Specify the horizontal offset of the shadow, relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left.
      Parameters:
      shadowXOffset - Specify the horizontal offset of the shadow, relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • shadowYOffset

      BurninDestinationSettings.Builder shadowYOffset(Integer shadowYOffset)
      Specify the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. Leave Shadow y-offset blank and set Style passthrough to enabled to use the shadow y-offset data from your input captions, if present.
      Parameters:
      shadowYOffset - Specify the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. Leave Shadow y-offset blank and set Style passthrough to enabled to use the shadow y-offset data from your input captions, if present.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stylePassthrough

      BurninDestinationSettings.Builder stylePassthrough(String stylePassthrough)
      Set Style passthrough to ENABLED to use the available style, color, and position information from your input captions. MediaConvert uses default settings for any missing style and position information in your input captions. Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input captions and use default settings: white text with black outlining, bottom-center positioning, and automatic sizing. Whether you set Style passthrough to enabled or not, you can also choose to manually override any of the individual style and position settings.
      Parameters:
      stylePassthrough - Set Style passthrough to ENABLED to use the available style, color, and position information from your input captions. MediaConvert uses default settings for any missing style and position information in your input captions. Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input captions and use default settings: white text with black outlining, bottom-center positioning, and automatic sizing. Whether you set Style passthrough to enabled or not, you can also choose to manually override any of the individual style and position settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stylePassthrough

      Set Style passthrough to ENABLED to use the available style, color, and position information from your input captions. MediaConvert uses default settings for any missing style and position information in your input captions. Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input captions and use default settings: white text with black outlining, bottom-center positioning, and automatic sizing. Whether you set Style passthrough to enabled or not, you can also choose to manually override any of the individual style and position settings.
      Parameters:
      stylePassthrough - Set Style passthrough to ENABLED to use the available style, color, and position information from your input captions. MediaConvert uses default settings for any missing style and position information in your input captions. Set Style passthrough to DISABLED, or leave blank, to ignore the style and position information from your input captions and use default settings: white text with black outlining, bottom-center positioning, and automatic sizing. Whether you set Style passthrough to enabled or not, you can also choose to manually override any of the individual style and position settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • teletextSpacing

      BurninDestinationSettings.Builder teletextSpacing(String teletextSpacing)
      Specify whether the text spacing in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read for closed captions.
      Parameters:
      teletextSpacing - Specify whether the text spacing in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read for closed captions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • teletextSpacing

      Specify whether the text spacing in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read for closed captions.
      Parameters:
      teletextSpacing - Specify whether the text spacing in your captions is set by the captions grid, or varies depending on letter width. Choose fixed grid to conform to the spacing specified in the captions file more accurately. Choose proportional to make the text easier to read for closed captions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • xPosition

      Specify the horizontal position of the captions, relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter.
      Parameters:
      xPosition - Specify the horizontal position of the captions, relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • yPosition

      Specify the vertical position of the captions, relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output.
      Parameters:
      yPosition - Specify the vertical position of the captions, relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.