Interface TeletextSourceSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TeletextSourceSettings.Builder,
,TeletextSourceSettings> SdkBuilder<TeletextSourceSettings.Builder,
,TeletextSourceSettings> SdkPojo
- Enclosing class:
TeletextSourceSettings
public static interface TeletextSourceSettings.Builder
extends SdkPojo, CopyableBuilder<TeletextSourceSettings.Builder,TeletextSourceSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TeletextSourceSettings.Builder
outputRectangle
(Consumer<CaptionRectangle.Builder> outputRectangle) Optionally defines a region where TTML style captions will be displayed This is a convenience method that creates an instance of theCaptionRectangle.Builder
avoiding the need to create one manually viaCaptionRectangle.builder()
.outputRectangle
(CaptionRectangle outputRectangle) Optionally defines a region where TTML style captions will be displayedpageNumber
(String pageNumber) Specifies the teletext page number within the data stream from which to extract captions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
outputRectangle
Optionally defines a region where TTML style captions will be displayed- Parameters:
outputRectangle
- Optionally defines a region where TTML style captions will be displayed- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputRectangle
default TeletextSourceSettings.Builder outputRectangle(Consumer<CaptionRectangle.Builder> outputRectangle) Optionally defines a region where TTML style captions will be displayed This is a convenience method that creates an instance of theCaptionRectangle.Builder
avoiding the need to create one manually viaCaptionRectangle.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputRectangle(CaptionRectangle)
.- Parameters:
outputRectangle
- a consumer that will call methods onCaptionRectangle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pageNumber
Specifies the teletext page number within the data stream from which to extract captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should be specified as a hexadecimal string with no "0x" prefix.- Parameters:
pageNumber
- Specifies the teletext page number within the data stream from which to extract captions. Range of 0x100 (256) to 0x8FF (2303). Unused for passthrough. Should be specified as a hexadecimal string with no "0x" prefix.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-