Package com.pulumi.aws.medialive.inputs
Class ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.medialive.inputs.ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder
-
- Enclosing class:
- ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs
public static final class ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs defaults)
-
-
Method Detail
-
alignment
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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. This option is not valid for source captions that are STL or 608/embedded. These source settings are already pre-defined by the caption stream.- Returns:
- builder
-
alignment
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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. This option is not valid for source captions that are STL or 608/embedded. These source settings are already pre-defined by the caption stream.- Returns:
- builder
-
backgroundColor
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder backgroundColor(@Nullable com.pulumi.core.Output<java.lang.String> backgroundColor)
- Parameters:
backgroundColor- Color of the rectangle behind the captions.- Returns:
- builder
-
backgroundColor
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder backgroundColor(java.lang.String backgroundColor)
- Parameters:
backgroundColor- Color of the rectangle behind the captions.- Returns:
- builder
-
backgroundOpacity
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 blank is equivalent to setting it to 0 (transparent).- Returns:
- builder
-
backgroundOpacity
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder backgroundOpacity(java.lang.Integer backgroundOpacity)
- Parameters:
backgroundOpacity- Opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent).- Returns:
- builder
-
font
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder font(@Nullable com.pulumi.core.Output<ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsFontArgs> 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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder font(ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsFontArgs 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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder fontOpacity(java.lang.Integer fontOpacity)
- Parameters:
fontOpacity- Opacity of the burned-in captions. 255 is opaque; 0 is transparent.- Returns:
- builder
-
fontResolution
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder fontResolution(java.lang.Integer fontResolution)
- Parameters:
fontResolution- Font resolution in DPI (dots per inch). Default is 96 dpi.- Returns:
- builder
-
fontSize
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder outlineColor(@Nullable 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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder shadowColor(java.lang.String shadowColor)
- Parameters:
shadowColor- Color of the shadow cast by the captions.- Returns:
- builder
-
shadowOpacity
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 blank is equivalent to setting it to 0 (transparent).- Returns:
- builder
-
shadowOpacity
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder shadowOpacity(java.lang.Integer shadowOpacity)
- Parameters:
shadowOpacity- Opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent).- Returns:
- builder
-
shadowXOffset
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.Builder teletextGridControl(@Nullable 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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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 ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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. 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
-
xPosition
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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. 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
-
yPosition
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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. 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
-
yPosition
public ChannelEncoderSettingsCaptionDescriptionDestinationSettingsDvbSubDestinationSettingsArgs.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. 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
-
-