Class EbuTtDDestinationProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.EbuTtDDestinationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EbuTtDDestinationProps>
- Enclosing interface:
EbuTtDDestinationProps
@Stability(Experimental)
public static final class EbuTtDDestinationProps.Builder
extends Object
implements software.amazon.jsii.Builder<EbuTtDDestinationProps>
A builder for
EbuTtDDestinationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.copyrightHolder(String copyrightHolder) Sets the value ofEbuTtDDestinationProps.getCopyrightHolder()defaultFontSize(Number defaultFontSize) Sets the value ofEbuTtDDestinationProps.getDefaultFontSize()defaultLineHeight(Number defaultLineHeight) Sets the value ofEbuTtDDestinationProps.getDefaultLineHeight()fillLineGap(EbuTtDFillLineGap fillLineGap) Sets the value ofEbuTtDDestinationProps.getFillLineGap()fontFamily(String fontFamily) Sets the value ofEbuTtDDestinationProps.getFontFamily()styleControl(EbuTtDStyleControl styleControl) Sets the value ofEbuTtDDestinationProps.getStyleControl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copyrightHolder
@Stability(Experimental) public EbuTtDDestinationProps.Builder copyrightHolder(String copyrightHolder) Sets the value ofEbuTtDDestinationProps.getCopyrightHolder()- Parameters:
copyrightHolder- The copyright holder included in the TTML copyright metadata tag.- Returns:
this
-
defaultFontSize
@Stability(Experimental) public EbuTtDDestinationProps.Builder defaultFontSize(Number defaultFontSize) Sets the value ofEbuTtDDestinationProps.getDefaultFontSize()- Parameters:
defaultFontSize- The default font size.- Returns:
this
-
defaultLineHeight
@Stability(Experimental) public EbuTtDDestinationProps.Builder defaultLineHeight(Number defaultLineHeight) Sets the value ofEbuTtDDestinationProps.getDefaultLineHeight()- Parameters:
defaultLineHeight- The default line height.- Returns:
this
-
fillLineGap
@Stability(Experimental) public EbuTtDDestinationProps.Builder fillLineGap(EbuTtDFillLineGap fillLineGap) Sets the value ofEbuTtDDestinationProps.getFillLineGap()- Parameters:
fillLineGap- How to handle the gap between multi-line captions.- Returns:
this
-
fontFamily
Sets the value ofEbuTtDDestinationProps.getFontFamily()- Parameters:
fontFamily- A comma-separated list of font families to include (valid only whenstyleControlis INCLUDE).- Returns:
this
-
styleControl
@Stability(Experimental) public EbuTtDDestinationProps.Builder styleControl(EbuTtDStyleControl styleControl) Sets the value ofEbuTtDDestinationProps.getStyleControl()- Parameters:
styleControl- Whether source style information is included in the EBU-TT-D font data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EbuTtDDestinationProps>- Returns:
- a new instance of
EbuTtDDestinationProps - Throws:
NullPointerException- if any required attribute was not provided
-