Interface BurnInDestinationSettings.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<BurnInDestinationSettings.Builder,,- BurnInDestinationSettings> - SdkBuilder<BurnInDestinationSettings.Builder,,- BurnInDestinationSettings> - SdkPojo
- Enclosing class:
- BurnInDestinationSettings
@Mutable
@NotThreadSafe
public static interface BurnInDestinationSettings.Builder
extends SdkPojo, CopyableBuilder<BurnInDestinationSettings.Builder,BurnInDestinationSettings> 
- 
Method SummaryModifier and TypeMethodDescriptionIf no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the bottom center of the output.alignment(BurnInAlignment alignment) If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the bottom center of the output.backgroundColor(String backgroundColor) Specifies the color of the rectangle behind the captions.backgroundColor(BurnInBackgroundColor backgroundColor) Specifies the color of the rectangle behind the captions.backgroundOpacity(Integer backgroundOpacity) Specifies the opacity of the background rectangle.font(Consumer<InputLocation.Builder> font) External font file used for caption burn-in.font(InputLocation font) External font file used for caption burn-in.Specifies the color of the burned-in captions.fontColor(BurnInFontColor fontColor) Specifies the color of the burned-in captions.fontOpacity(Integer fontOpacity) Specifies the opacity of the burned-in captions.fontResolution(Integer fontResolution) Font resolution in DPI (dots per inch); default is 96 dpi.When set to 'auto' fontSize will scale depending on the size of the output.outlineColor(String outlineColor) Specifies font outline color.outlineColor(BurnInOutlineColor outlineColor) Specifies font outline color.outlineSize(Integer outlineSize) Specifies font outline size in pixels.shadowColor(String shadowColor) Specifies the color of the shadow cast by the captions.shadowColor(BurnInShadowColor shadowColor) Specifies the color of the shadow cast by the captions.shadowOpacity(Integer shadowOpacity) Specifies the opacity of the shadow.shadowXOffset(Integer shadowXOffset) Specifies the horizontal offset of the shadow relative to the captions in pixels.shadowYOffset(Integer shadowYOffset) Specifies the vertical offset of the shadow relative to the captions in pixels.subtitleRows(String subtitleRows) Applies only when the input captions are Teletext and the output captions are DVB-Sub or Burn-In.subtitleRows(BurnInDestinationSubtitleRows subtitleRows) Applies only when the input captions are Teletext and the output captions are DVB-Sub or Burn-In.teletextGridControl(String teletextGridControl) Controls whether a fixed grid size will be used to generate the output subtitles bitmap.teletextGridControl(BurnInTeletextGridControl teletextGridControl) Controls whether a fixed grid size will be used to generate the output subtitles bitmap.Specifies the horizontal position of the caption relative to the left side of the output in pixels.Specifies the vertical position of the caption relative to the top of the output in pixels.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
alignmentIf no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align 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. Selecting "smart" justification will left-justify live subtitles and center-justify pre-recorded subtitles. All burn-in and DVB-Sub font settings must match.- Parameters:
- alignment- If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align 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. Selecting "smart" justification will left-justify live subtitles and center-justify pre-recorded subtitles. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
alignmentIf no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align 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. Selecting "smart" justification will left-justify live subtitles and center-justify pre-recorded subtitles. All burn-in and DVB-Sub font settings must match.- Parameters:
- alignment- If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the bottom center of the output. Similarly, setting a left alignment will align 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. Selecting "smart" justification will left-justify live subtitles and center-justify pre-recorded subtitles. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
backgroundColorSpecifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must match.- Parameters:
- backgroundColor- Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
backgroundColorSpecifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must match.- Parameters:
- backgroundColor- Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
backgroundOpacitySpecifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.- Parameters:
- backgroundOpacity- Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
fontExternal font file used for caption burn-in. File extension must be 'ttf' or 'tte'. Although the user can select output fonts for many different types of input captions, embedded, STL and teletext sources use a strict grid system. Using external fonts with these caption sources could cause unexpected display of proportional fonts. All burn-in and DVB-Sub font settings must match.- Parameters:
- font- External font file used for caption burn-in. File extension must be 'ttf' or 'tte'. Although the user can select output fonts for many different types of input captions, embedded, STL and teletext sources use a strict grid system. Using external fonts with these caption sources could cause unexpected display of proportional fonts. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
fontExternal font file used for caption burn-in. File extension must be 'ttf' or 'tte'. Although the user can select output fonts for many different types of input captions, embedded, STL and teletext sources use a strict grid system. Using external fonts with these caption sources could cause unexpected display of proportional fonts. All burn-in and DVB-Sub font settings must match. This is a convenience method that creates an instance of theInputLocation.Builderavoiding the need to create one manually viaInputLocation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofont(InputLocation).- Parameters:
- font- a consumer that will call methods on- InputLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
fontColorSpecifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.- Parameters:
- fontColor- Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
fontColorSpecifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.- Parameters:
- fontColor- Specifies the color of the burned-in captions. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
fontOpacitySpecifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. All burn-in and DVB-Sub font settings must match.- Parameters:
- fontOpacity- Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
fontResolutionFont resolution in DPI (dots per inch); default is 96 dpi. All burn-in and DVB-Sub font settings must match.- Parameters:
- fontResolution- Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
fontSizeWhen set to 'auto' fontSize will scale depending on the size of the output. Giving a positive integer will specify the exact font size in points. All burn-in and DVB-Sub font settings must match.- Parameters:
- fontSize- When set to 'auto' fontSize will scale depending on the size of the output. Giving a positive integer will specify the exact font size in points. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
outlineColorSpecifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.- Parameters:
- outlineColor- Specifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
outlineColorSpecifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.- Parameters:
- outlineColor- Specifies font outline color. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
outlineSizeSpecifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.- Parameters:
- outlineSize- Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
shadowColorSpecifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.- Parameters:
- shadowColor- Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
shadowColorSpecifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.- Parameters:
- shadowColor- Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
shadowOpacitySpecifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.- Parameters:
- shadowOpacity- Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
shadowXOffsetSpecifies 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. All burn-in and DVB-Sub font settings must match.- Parameters:
- shadowXOffset- Specifies 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. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
shadowYOffsetSpecifies 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. All burn-in and DVB-Sub font settings must match.- Parameters:
- shadowYOffset- Specifies 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. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
teletextGridControlControls whether a fixed grid size will be used to generate the output subtitles bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs.- Parameters:
- teletextGridControl- Controls whether a fixed grid size will be used to generate the output subtitles bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
teletextGridControlBurnInDestinationSettings.Builder teletextGridControl(BurnInTeletextGridControl teletextGridControl) Controls whether a fixed grid size will be used to generate the output subtitles bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs.- Parameters:
- teletextGridControl- Controls whether a fixed grid size will be used to generate the output subtitles bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
xPositionSpecifies the horizontal position of the caption 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 xPosition is provided, the horizontal caption position will be determined by the alignment parameter. All burn-in and DVB-Sub font settings must match.- Parameters:
- xPosition- Specifies the horizontal position of the caption 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 xPosition is provided, the horizontal caption position will be determined by the alignment parameter. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
yPositionSpecifies the vertical position of the caption 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 yPosition is provided, the caption will be positioned towards the bottom of the output. All burn-in and DVB-Sub font settings must match.- Parameters:
- yPosition- Specifies the vertical position of the caption 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 yPosition is provided, the caption will be positioned towards the bottom of the output. All burn-in and DVB-Sub font settings must match.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
subtitleRowsApplies only when the input captions are Teletext and the output captions are DVB-Sub or Burn-In. Choose the number of lines for the captions bitmap. The captions bitmap is 700 wide × 576 high and will be laid over the video. For example, a value of 16 divides the bitmap into 16 lines, with each line 36 pixels high (16 × 36 = 576). The default is 24 (24 pixels high). Enter the same number in every encode in every output that converts the same Teletext source to DVB-Sub or Burn-in.- Parameters:
- subtitleRows- Applies only when the input captions are Teletext and the output captions are DVB-Sub or Burn-In. Choose the number of lines for the captions bitmap. The captions bitmap is 700 wide × 576 high and will be laid over the video. For example, a value of 16 divides the bitmap into 16 lines, with each line 36 pixels high (16 × 36 = 576). The default is 24 (24 pixels high). Enter the same number in every encode in every output that converts the same Teletext source to DVB-Sub or Burn-in.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
subtitleRowsApplies only when the input captions are Teletext and the output captions are DVB-Sub or Burn-In. Choose the number of lines for the captions bitmap. The captions bitmap is 700 wide × 576 high and will be laid over the video. For example, a value of 16 divides the bitmap into 16 lines, with each line 36 pixels high (16 × 36 = 576). The default is 24 (24 pixels high). Enter the same number in every encode in every output that converts the same Teletext source to DVB-Sub or Burn-in.- Parameters:
- subtitleRows- Applies only when the input captions are Teletext and the output captions are DVB-Sub or Burn-In. Choose the number of lines for the captions bitmap. The captions bitmap is 700 wide × 576 high and will be laid over the video. For example, a value of 16 divides the bitmap into 16 lines, with each line 36 pixels high (16 × 36 = 576). The default is 24 (24 pixels high). Enter the same number in every encode in every output that converts the same Teletext source to DVB-Sub or Burn-in.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-