Package com.pulumi.aws.medialive.inputs
Class ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder
-
- Enclosing class:
- ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs
public static final class ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs defaults)
-
-
Method Detail
-
alignment
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder alignment(@Nullable com.pulumi.core.Output<java.lang.String> alignment)
- Parameters:
alignment- Justification of the caption text. When no explicit `xPosition` or `yPosition` is provided, `centered` places the captions at the bottom center of the output and `left` aligns captions to the bottom left. If `xPosition` and `yPosition` are given with the alignment parameter, the font is justified (left or centered) relative to those coordinates. Selecting `smart` justification left-justifies live subtitles and center-justifies pre-recorded subtitles.- Returns:
- builder
-
alignment
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder alignment(java.lang.String alignment)
- Parameters:
alignment- Justification of the caption text. When no explicit `xPosition` or `yPosition` is provided, `centered` places the captions at the bottom center of the output and `left` aligns captions to the bottom left. If `xPosition` and `yPosition` are given with the alignment parameter, the font is justified (left or centered) relative to those coordinates. Selecting `smart` justification left-justifies live subtitles and center-justifies pre-recorded subtitles.- Returns:
- builder
-
backgroundColor
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder backgroundColor(@Nullable com.pulumi.core.Output<java.lang.String> backgroundColor)
- Parameters:
backgroundColor- Color of the rectangle behind the captions.- Returns:
- builder
-
backgroundColor
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder backgroundColor(java.lang.String backgroundColor)
- Parameters:
backgroundColor- Color of the rectangle behind the captions.- Returns:
- builder
-
backgroundOpacity
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder backgroundOpacity(@Nullable com.pulumi.core.Output<java.lang.Integer> backgroundOpacity)
- Parameters:
backgroundOpacity- Opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent).- Returns:
- builder
-
backgroundOpacity
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder backgroundOpacity(java.lang.Integer backgroundOpacity)
- Parameters:
backgroundOpacity- Opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent).- Returns:
- builder
-
font
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder font(@Nullable com.pulumi.core.Output<ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsFontArgs> font)
- Parameters:
font- External font file used for caption burn-in. File extension must be `ttf` or `tte`. Although you 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. See `font` Block for details.- Returns:
- builder
-
font
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder font(ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsFontArgs font)
- Parameters:
font- External font file used for caption burn-in. File extension must be `ttf` or `tte`. Although you 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. See `font` Block for details.- Returns:
- builder
-
fontColor
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder fontColor(@Nullable com.pulumi.core.Output<java.lang.String> fontColor)
- Parameters:
fontColor- 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.- Returns:
- builder
-
fontColor
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder fontColor(java.lang.String fontColor)
- Parameters:
fontColor- 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.- Returns:
- builder
-
fontOpacity
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder fontOpacity(@Nullable com.pulumi.core.Output<java.lang.Integer> fontOpacity)
- Parameters:
fontOpacity- Opacity of the burned-in captions. 255 is opaque; 0 is transparent.- Returns:
- builder
-
fontOpacity
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder fontOpacity(java.lang.Integer fontOpacity)
- Parameters:
fontOpacity- Opacity of the burned-in captions. 255 is opaque; 0 is transparent.- Returns:
- builder
-
fontResolution
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder fontResolution(@Nullable com.pulumi.core.Output<java.lang.Integer> fontResolution)
- Parameters:
fontResolution- Font resolution in DPI (dots per inch). Default is 96 dpi.- Returns:
- builder
-
fontResolution
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder fontResolution(java.lang.Integer fontResolution)
- Parameters:
fontResolution- Font resolution in DPI (dots per inch). Default is 96 dpi.- Returns:
- builder
-
fontSize
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder fontSize(@Nullable com.pulumi.core.Output<java.lang.String> fontSize)
- Parameters:
fontSize- When set to `auto`, font size scales depending on the size of the output. A positive integer sets the exact font size in points.- Returns:
- builder
-
fontSize
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder fontSize(java.lang.String fontSize)
- Parameters:
fontSize- When set to `auto`, font size scales depending on the size of the output. A positive integer sets the exact font size in points.- Returns:
- builder
-
outlineColor
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder outlineColor(com.pulumi.core.Output<java.lang.String> outlineColor)
- Parameters:
outlineColor- 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.- Returns:
- builder
-
outlineColor
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder outlineColor(java.lang.String outlineColor)
- Parameters:
outlineColor- 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.- Returns:
- builder
-
outlineSize
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder outlineSize(@Nullable com.pulumi.core.Output<java.lang.Integer> outlineSize)
- Parameters:
outlineSize- 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.- Returns:
- builder
-
outlineSize
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder outlineSize(java.lang.Integer outlineSize)
- Parameters:
outlineSize- 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.- Returns:
- builder
-
shadowColor
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder shadowColor(@Nullable com.pulumi.core.Output<java.lang.String> shadowColor)
- Parameters:
shadowColor- Color of the shadow cast by the captions.- Returns:
- builder
-
shadowColor
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder shadowColor(java.lang.String shadowColor)
- Parameters:
shadowColor- Color of the shadow cast by the captions.- Returns:
- builder
-
shadowOpacity
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder shadowOpacity(@Nullable com.pulumi.core.Output<java.lang.Integer> shadowOpacity)
- Parameters:
shadowOpacity- Opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent).- Returns:
- builder
-
shadowOpacity
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder shadowOpacity(java.lang.Integer shadowOpacity)
- Parameters:
shadowOpacity- Opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent).- Returns:
- builder
-
shadowXOffset
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder shadowXOffset(@Nullable com.pulumi.core.Output<java.lang.Integer> shadowXOffset)
- Parameters:
shadowXOffset- Horizontal offset, in pixels, of the shadow relative to the captions. A value of -2 results in a shadow offset 2 pixels to the left.- Returns:
- builder
-
shadowXOffset
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder shadowXOffset(java.lang.Integer shadowXOffset)
- Parameters:
shadowXOffset- Horizontal offset, in pixels, of the shadow relative to the captions. A value of -2 results in a shadow offset 2 pixels to the left.- Returns:
- builder
-
shadowYOffset
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder shadowYOffset(@Nullable com.pulumi.core.Output<java.lang.Integer> shadowYOffset)
- Parameters:
shadowYOffset- Vertical offset, in pixels, of the shadow relative to the captions. A value of -2 results in a shadow offset 2 pixels above the text.- Returns:
- builder
-
shadowYOffset
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder shadowYOffset(java.lang.Integer shadowYOffset)
- Parameters:
shadowYOffset- Vertical offset, in pixels, of the shadow relative to the captions. A value of -2 results in a shadow offset 2 pixels above the text.- Returns:
- builder
-
teletextGridControl
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder teletextGridControl(com.pulumi.core.Output<java.lang.String> teletextGridControl)
- Parameters:
teletextGridControl- Whether a fixed grid size is used to generate the output subtitles bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs.- Returns:
- builder
-
teletextGridControl
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder teletextGridControl(java.lang.String teletextGridControl)
- Parameters:
teletextGridControl- Whether a fixed grid size is used to generate the output subtitles bitmap. Only applicable for Teletext inputs and DVB-Sub/Burn-in outputs.- Returns:
- builder
-
xPosition
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder xPosition(@Nullable com.pulumi.core.Output<java.lang.Integer> xPosition)
- Parameters:
xPosition- Horizontal position, in pixels, of the caption relative to the left side of the output. A value of 10 results in the captions starting 10 pixels from the left of the output. If no explicit `xPosition` is provided, the horizontal caption position is determined by the alignment parameter.- Returns:
- builder
-
xPosition
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder xPosition(java.lang.Integer xPosition)
- Parameters:
xPosition- Horizontal position, in pixels, of the caption relative to the left side of the output. A value of 10 results in the captions starting 10 pixels from the left of the output. If no explicit `xPosition` is provided, the horizontal caption position is determined by the alignment parameter.- Returns:
- builder
-
yPosition
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder yPosition(@Nullable com.pulumi.core.Output<java.lang.Integer> yPosition)
- Parameters:
yPosition- Vertical position, in pixels, of the caption relative to the top of the output. A value of 10 results in the captions starting 10 pixels from the top of the output. If no explicit `yPosition` is provided, the caption is positioned towards the bottom of the output.- Returns:
- builder
-
yPosition
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsBurnInDestinationSettingsArgs.Builder yPosition(java.lang.Integer yPosition)
- Parameters:
yPosition- Vertical position, in pixels, of the caption relative to the top of the output. A value of 10 results in the captions starting 10 pixels from the top of the output. If no explicit `yPosition` is provided, the caption is positioned towards the bottom of the output.- Returns:
- builder
-
-