Interface VisualSubtitleLabelOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VisualSubtitleLabelOptions.Builder,
,VisualSubtitleLabelOptions> SdkBuilder<VisualSubtitleLabelOptions.Builder,
,VisualSubtitleLabelOptions> SdkPojo
- Enclosing class:
VisualSubtitleLabelOptions
@Mutable
@NotThreadSafe
public static interface VisualSubtitleLabelOptions.Builder
extends SdkPojo, CopyableBuilder<VisualSubtitleLabelOptions.Builder,VisualSubtitleLabelOptions>
-
Method Summary
Modifier and TypeMethodDescriptionformatText
(Consumer<LongFormatText.Builder> formatText) The long text format of the subtitle label, such as plain text or rich text.formatText
(LongFormatText formatText) The long text format of the subtitle label, such as plain text or rich text.visibility
(String visibility) The visibility of the subtitle label.visibility
(Visibility visibility) The visibility of the subtitle label.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, sdkFieldNameToField, sdkFields
-
Method Details
-
visibility
The visibility of the subtitle label.
- Parameters:
visibility
- The visibility of the subtitle label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
visibility
The visibility of the subtitle label.
- Parameters:
visibility
- The visibility of the subtitle label.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
formatText
The long text format of the subtitle label, such as plain text or rich text.
- Parameters:
formatText
- The long text format of the subtitle label, such as plain text or rich text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formatText
The long text format of the subtitle label, such as plain text or rich text.
This is a convenience method that creates an instance of theLongFormatText.Builder
avoiding the need to create one manually viaLongFormatText.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toformatText(LongFormatText)
.- Parameters:
formatText
- a consumer that will call methods onLongFormatText.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-