Class TeletextCaptionSourceOptions.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.TeletextCaptionSourceOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TeletextCaptionSourceOptions>
- Enclosing interface:
TeletextCaptionSourceOptions
@Stability(Experimental)
public static final class TeletextCaptionSourceOptions.Builder
extends Object
implements software.amazon.jsii.Builder<TeletextCaptionSourceOptions>
A builder for
TeletextCaptionSourceOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.outputRectangle(CaptionRectangle outputRectangle) Sets the value ofTeletextCaptionSourceOptions.getOutputRectangle()pageNumber(String pageNumber) Sets the value ofTeletextCaptionSourceOptions.getPageNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
outputRectangle
@Stability(Experimental) public TeletextCaptionSourceOptions.Builder outputRectangle(CaptionRectangle outputRectangle) Sets the value ofTeletextCaptionSourceOptions.getOutputRectangle()- Parameters:
outputRectangle- The caption rectangle to use when converting this source to EBU-TT-D or TTML.- Returns:
this
-
pageNumber
Sets the value ofTeletextCaptionSourceOptions.getPageNumber()- Parameters:
pageNumber- The Teletext page number to extract captions from, as a hexadecimal string with no0xprefix (range100–8FF). Unused for passthrough.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TeletextCaptionSourceOptions>- Returns:
- a new instance of
TeletextCaptionSourceOptions - Throws:
NullPointerException- if any required attribute was not provided
-