Interface WebvttDestinationSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WebvttDestinationSettings.Builder,,WebvttDestinationSettings> SdkBuilder<WebvttDestinationSettings.Builder,,WebvttDestinationSettings> SdkPojo
- Enclosing class:
WebvttDestinationSettings
@Mutable
@NotThreadSafe
public static interface WebvttDestinationSettings.Builder
extends SdkPojo, CopyableBuilder<WebvttDestinationSettings.Builder,WebvttDestinationSettings>
-
Method Summary
Modifier and TypeMethodDescriptionposition(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 whether the color and position of the source captions is passed through to the WebVTT output captions.styleControl(WebvttDestinationStyleControl styleControl) Controls whether the color and position of the source captions is passed through to the WebVTT 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 whether the color and position of the source captions is passed through to the WebVTT output captions. PASSTHROUGH - Valid only if the source captions are EMBEDDED, TELETEXT, or SMART SUBTITLES. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.- Parameters:
styleControl- Controls whether the color and position of the source captions is passed through to the WebVTT output captions. PASSTHROUGH - Valid only if the source captions are EMBEDDED, TELETEXT, or SMART SUBTITLES. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information. 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 whether the color and position of the source captions is passed through to the WebVTT output captions. PASSTHROUGH - Valid only if the source captions are EMBEDDED, TELETEXT, or SMART SUBTITLES. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information. MANUAL - Applies the specified styling and positioning. All other styling and positioning is given default values.- Parameters:
styleControl- Controls whether the color and position of the source captions is passed through to the WebVTT output captions. PASSTHROUGH - Valid only if the source captions are EMBEDDED, TELETEXT, or SMART SUBTITLES. NO_STYLE_DATA - Don't pass through the style. The output captions will not contain any font styling information. 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 WebvttDestinationSettings.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:
-