Interface VisualSubtitleFontConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VisualSubtitleFontConfiguration.Builder,,VisualSubtitleFontConfiguration> SdkBuilder<VisualSubtitleFontConfiguration.Builder,,VisualSubtitleFontConfiguration> SdkPojo
- Enclosing class:
VisualSubtitleFontConfiguration
@Mutable
@NotThreadSafe
public static interface VisualSubtitleFontConfiguration.Builder
extends SdkPojo, CopyableBuilder<VisualSubtitleFontConfiguration.Builder,VisualSubtitleFontConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionfontConfiguration(Consumer<FontConfiguration.Builder> fontConfiguration) Sets the value of the FontConfiguration property for this object.fontConfiguration(FontConfiguration fontConfiguration) Sets the value of the FontConfiguration property for this object.textAlignment(String textAlignment) Determines the alignment of visual sub-title.textAlignment(HorizontalTextAlignment textAlignment) Determines the alignment of visual sub-title.textTransform(String textTransform) Determines the text transformation of visual sub-title.textTransform(TextTransform textTransform) Determines the text transformation of visual sub-title.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
-
fontConfiguration
Sets the value of the FontConfiguration property for this object.- Parameters:
fontConfiguration- The new value for the FontConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fontConfiguration
default VisualSubtitleFontConfiguration.Builder fontConfiguration(Consumer<FontConfiguration.Builder> fontConfiguration) Sets the value of the FontConfiguration property for this object. This is a convenience method that creates an instance of theFontConfiguration.Builderavoiding the need to create one manually viaFontConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofontConfiguration(FontConfiguration).- Parameters:
fontConfiguration- a consumer that will call methods onFontConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textAlignment
Determines the alignment of visual sub-title.
- Parameters:
textAlignment- Determines the alignment of visual sub-title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textAlignment
Determines the alignment of visual sub-title.
- Parameters:
textAlignment- Determines the alignment of visual sub-title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textTransform
Determines the text transformation of visual sub-title.
- Parameters:
textTransform- Determines the text transformation of visual sub-title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textTransform
Determines the text transformation of visual sub-title.
- Parameters:
textTransform- Determines the text transformation of visual sub-title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-