Interface ControlTitleFontConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ControlTitleFontConfiguration.Builder,,ControlTitleFontConfiguration> SdkBuilder<ControlTitleFontConfiguration.Builder,,ControlTitleFontConfiguration> SdkPojo
- Enclosing class:
ControlTitleFontConfiguration
@Mutable
@NotThreadSafe
public static interface ControlTitleFontConfiguration.Builder
extends SdkPojo, CopyableBuilder<ControlTitleFontConfiguration.Builder,ControlTitleFontConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionfontConfiguration(Consumer<FontConfiguration.Builder> fontConfiguration) Configures the font settings for the control title.fontConfiguration(FontConfiguration fontConfiguration) Configures the font settings for the control title.textAlignment(String textAlignment) Determines the alignment of the control title.textAlignment(HorizontalTextAlignment textAlignment) Determines the alignment of the control 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
Configures the font settings for the control title.
- Parameters:
fontConfiguration- Configures the font settings for the control title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fontConfiguration
default ControlTitleFontConfiguration.Builder fontConfiguration(Consumer<FontConfiguration.Builder> fontConfiguration) Configures the font settings for the control title.
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 the control title.
- Parameters:
textAlignment- Determines the alignment of the control title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
textAlignment
Determines the alignment of the control title.
- Parameters:
textAlignment- Determines the alignment of the control title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-