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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VisualSubtitleLabelOptions.BuilderformatText(Consumer<LongFormatText.Builder> formatText)The long text format of the subtitle label, such as plain text or rich text.VisualSubtitleLabelOptions.BuilderformatText(LongFormatText formatText)The long text format of the subtitle label, such as plain text or rich text.VisualSubtitleLabelOptions.Buildervisibility(String visibility)The visibility of the subtitle label.VisualSubtitleLabelOptions.Buildervisibility(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 Detail
-
visibility
VisualSubtitleLabelOptions.Builder visibility(String 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,Visibility
-
visibility
VisualSubtitleLabelOptions.Builder visibility(Visibility 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,Visibility
-
formatText
VisualSubtitleLabelOptions.Builder formatText(LongFormatText 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
default VisualSubtitleLabelOptions.Builder formatText(Consumer<LongFormatText.Builder> 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.Builderavoiding the need to create one manually viaLongFormatText.builder().When the
Consumercompletes,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:
formatText(LongFormatText)
-
-