Class CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.medialive.mixins.CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty>
A builder for
CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.copyrightHolder(String copyrightHolder) defaultFontSize(Number defaultFontSize) defaultLineHeight(Number defaultLineHeight) fillLineGap(String fillLineGap) Sets the value ofCfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.getFillLineGap()fontFamily(String fontFamily) Sets the value ofCfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.getFontFamily()styleControl(String styleControl) Sets the value ofCfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.getStyleControl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copyrightHolder
@Stability(Stable) public CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.Builder copyrightHolder(String copyrightHolder) - Parameters:
copyrightHolder- Applies only if you plan to convert these source captions to EBU-TT-D or TTML in an output. Complete this field if you want to include the name of the copyright holder in the copyright metadata tag in the TTML- Returns:
this
-
defaultFontSize
@Stability(Stable) public CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.Builder defaultFontSize(Number defaultFontSize) - Parameters:
defaultFontSize- the value to be set.- Returns:
this
-
defaultLineHeight
@Stability(Stable) public CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.Builder defaultLineHeight(Number defaultLineHeight) - Parameters:
defaultLineHeight- the value to be set.- Returns:
this
-
fillLineGap
@Stability(Stable) public CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.Builder fillLineGap(String fillLineGap) Sets the value ofCfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.getFillLineGap()- Parameters:
fillLineGap- Specifies how to handle the gap between the lines (in multi-line captions).- enabled: Fill with the captions background color (as specified in the input captions).
- disabled: Leave the gap unfilled.
- Returns:
this
-
fontFamily
@Stability(Stable) public CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.Builder fontFamily(String fontFamily) Sets the value ofCfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.getFontFamily()- Parameters:
fontFamily- Specifies the font family to include in the font data attached to the EBU-TT captions. Valid only if styleControl is set to include. If you leave this field empty, the font family is set to "monospaced". (If styleControl is set to exclude, the font family is always set to "monospaced".) You specify only the font family. All other style information (color, bold, position and so on) is copied from the input captions. The size is always set to 100% to allow the downstream player to choose the size. - Enter a list of font families, as a comma-separated list of font names, in order of preference. The name can be a font family (such as “Arial”), or a generic font family (such as “serif”), or “default” (to let the downstream player choose the font).- Leave blank to set the family to “monospace”.
- Returns:
this
-
styleControl
@Stability(Stable) public CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.Builder styleControl(String styleControl) Sets the value ofCfnChannelPropsMixin.EbuTtDDestinationSettingsProperty.getStyleControl()- Parameters:
styleControl- Specifies the style information (font color, font position, and so on) to include in the font data that is attached to the EBU-TT captions.- include: Take the style information (font color, font position, and so on) from the source captions and include that information in the font data attached to the EBU-TT captions. This option is valid only if the source captions are Embedded or Teletext.
- exclude: In the font data attached to the EBU-TT captions, set the font family to "monospaced". Do not include any other style information.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.EbuTtDDestinationSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-