Interface TtmlDestinationSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TtmlDestinationSettings.Builder,,TtmlDestinationSettings> SdkBuilder<TtmlDestinationSettings.Builder,,TtmlDestinationSettings> SdkPojo
- Enclosing class:
TtmlDestinationSettings
@Mutable
@NotThreadSafe
public static interface TtmlDestinationSettings.Builder
extends SdkPojo, CopyableBuilder<TtmlDestinationSettings.Builder,TtmlDestinationSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TtmlDestinationSettings.Builderposition(Consumer<TextCaptionPositionSettings.Builder> position) Specifies the position of the output captions.position(TextCaptionPositionSettings position) Specifies the position of the output captions.styleControl(String styleControl) Controls the source of style and position information for the output captions.styleControl(TtmlDestinationStyleControl styleControl) Controls the source of style and position information for the output captions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
styleControl
Controls the source of style and position information for the output captions. PASSTHROUGH - Preserve the style and position from the source captions. USE_CONFIGURED - Don't pass through the style. The output captions will use the default styling. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.- Parameters:
styleControl- Controls the source of style and position information for the output captions. PASSTHROUGH - Preserve the style and position from the source captions. USE_CONFIGURED - Don't pass through the style. The output captions will use the default styling. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
styleControl
Controls the source of style and position information for the output captions. PASSTHROUGH - Preserve the style and position from the source captions. USE_CONFIGURED - Don't pass through the style. The output captions will use the default styling. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.- Parameters:
styleControl- Controls the source of style and position information for the output captions. PASSTHROUGH - Preserve the style and position from the source captions. USE_CONFIGURED - Don't pass through the style. The output captions will use the default styling. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
position
Specifies the position of the output captions. Applies only when styleControl is set to manual.- Parameters:
position- Specifies the position of the output captions. Applies only when styleControl is set to manual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
default TtmlDestinationSettings.Builder position(Consumer<TextCaptionPositionSettings.Builder> position) Specifies the position of the output captions. Applies only when styleControl is set to manual. This is a convenience method that creates an instance of theTextCaptionPositionSettings.Builderavoiding the need to create one manually viaTextCaptionPositionSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toposition(TextCaptionPositionSettings).- Parameters:
position- a consumer that will call methods onTextCaptionPositionSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-