Class CfnChannel.TeletextSourceSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.TeletextSourceSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.TeletextSourceSettingsProperty>
- Enclosing interface:
CfnChannel.TeletextSourceSettingsProperty
@Stability(Stable)
public static final class CfnChannel.TeletextSourceSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.TeletextSourceSettingsProperty>
A builder for
CfnChannel.TeletextSourceSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.outputRectangle
(IResolvable outputRectangle) Sets the value ofCfnChannel.TeletextSourceSettingsProperty.getOutputRectangle()
outputRectangle
(CfnChannel.CaptionRectangleProperty outputRectangle) Sets the value ofCfnChannel.TeletextSourceSettingsProperty.getOutputRectangle()
pageNumber
(String pageNumber) Sets the value ofCfnChannel.TeletextSourceSettingsProperty.getPageNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
outputRectangle
@Stability(Stable) public CfnChannel.TeletextSourceSettingsProperty.Builder outputRectangle(IResolvable outputRectangle) Sets the value ofCfnChannel.TeletextSourceSettingsProperty.getOutputRectangle()
- Parameters:
outputRectangle
- Settings to configure the caption rectangle for an output captions that will be created using this Teletext source captions.- Returns:
this
-
outputRectangle
@Stability(Stable) public CfnChannel.TeletextSourceSettingsProperty.Builder outputRectangle(CfnChannel.CaptionRectangleProperty outputRectangle) Sets the value ofCfnChannel.TeletextSourceSettingsProperty.getOutputRectangle()
- Parameters:
outputRectangle
- Settings to configure the caption rectangle for an output captions that will be created using this Teletext source captions.- Returns:
this
-
pageNumber
@Stability(Stable) public CfnChannel.TeletextSourceSettingsProperty.Builder pageNumber(String pageNumber) Sets the value ofCfnChannel.TeletextSourceSettingsProperty.getPageNumber()
- Parameters:
pageNumber
- Specifies the Teletext page number within the data stream from which to extract captions. The range is 0x100 (256) to 0x8FF (2303). This is unused for passthrough. It should be specified as a hexadecimal string with no "0x" prefix.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnChannel.TeletextSourceSettingsProperty>
- Returns:
- a new instance of
CfnChannel.TeletextSourceSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-