Interface FontConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FontConfiguration.Builder,
,FontConfiguration> SdkBuilder<FontConfiguration.Builder,
,FontConfiguration> SdkPojo
- Enclosing class:
FontConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionDetermines the color of the text.fontDecoration
(String fontDecoration) Determines the appearance of decorative lines on the text.fontDecoration
(FontDecoration fontDecoration) Determines the appearance of decorative lines on the text.default FontConfiguration.Builder
fontSize
(Consumer<FontSize.Builder> fontSize) The option that determines the text display size.The option that determines the text display size.Determines the text display face that is inherited by the given font family.Determines the text display face that is inherited by the given font family.default FontConfiguration.Builder
fontWeight
(Consumer<FontWeight.Builder> fontWeight) The option that determines the text display weight, or boldness.fontWeight
(FontWeight fontWeight) The option that determines the text display weight, or boldness.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, sdkFields
-
Method Details
-
fontSize
The option that determines the text display size.
- Parameters:
fontSize
- The option that determines the text display size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fontSize
The option that determines the text display size.
This is a convenience method that creates an instance of theFontSize.Builder
avoiding the need to create one manually viaFontSize.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofontSize(FontSize)
.- Parameters:
fontSize
- a consumer that will call methods onFontSize.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fontDecoration
Determines the appearance of decorative lines on the text.
- Parameters:
fontDecoration
- Determines the appearance of decorative lines on the text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fontDecoration
Determines the appearance of decorative lines on the text.
- Parameters:
fontDecoration
- Determines the appearance of decorative lines on the text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fontColor
Determines the color of the text.
- Parameters:
fontColor
- Determines the color of the text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fontWeight
The option that determines the text display weight, or boldness.
- Parameters:
fontWeight
- The option that determines the text display weight, or boldness.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fontWeight
The option that determines the text display weight, or boldness.
This is a convenience method that creates an instance of theFontWeight.Builder
avoiding the need to create one manually viaFontWeight.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofontWeight(FontWeight)
.- Parameters:
fontWeight
- a consumer that will call methods onFontWeight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fontStyle
Determines the text display face that is inherited by the given font family.
- Parameters:
fontStyle
- Determines the text display face that is inherited by the given font family.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fontStyle
Determines the text display face that is inherited by the given font family.
- Parameters:
fontStyle
- Determines the text display face that is inherited by the given font family.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-