Class CfnChannel.EbuTtDDestinationSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.EbuTtDDestinationSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.EbuTtDDestinationSettingsProperty>
- Enclosing interface:
CfnChannel.EbuTtDDestinationSettingsProperty
@Stability(Stable)
public static final class CfnChannel.EbuTtDDestinationSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.EbuTtDDestinationSettingsProperty>
A builder for
CfnChannel.EbuTtDDestinationSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.copyrightHolder
(String copyrightHolder) Sets the value ofCfnChannel.EbuTtDDestinationSettingsProperty.getCopyrightHolder()
fillLineGap
(String fillLineGap) Sets the value ofCfnChannel.EbuTtDDestinationSettingsProperty.getFillLineGap()
fontFamily
(String fontFamily) Sets the value ofCfnChannel.EbuTtDDestinationSettingsProperty.getFontFamily()
styleControl
(String styleControl) Sets the value ofCfnChannel.EbuTtDDestinationSettingsProperty.getStyleControl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copyrightHolder
@Stability(Stable) public CfnChannel.EbuTtDDestinationSettingsProperty.Builder copyrightHolder(String copyrightHolder) Sets the value ofCfnChannel.EbuTtDDestinationSettingsProperty.getCopyrightHolder()
- 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
-
fillLineGap
@Stability(Stable) public CfnChannel.EbuTtDDestinationSettingsProperty.Builder fillLineGap(String fillLineGap) Sets the value ofCfnChannel.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 CfnChannel.EbuTtDDestinationSettingsProperty.Builder fontFamily(String fontFamily) Sets the value ofCfnChannel.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 CfnChannel.EbuTtDDestinationSettingsProperty.Builder styleControl(String styleControl) Sets the value ofCfnChannel.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.EbuTtDDestinationSettingsProperty>
- Returns:
- a new instance of
CfnChannel.EbuTtDDestinationSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-