Interface FontConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FontConfiguration.Builder,FontConfiguration>,SdkBuilder<FontConfiguration.Builder,FontConfiguration>,SdkPojo
- Enclosing class:
- FontConfiguration
public static interface FontConfiguration.Builder extends SdkPojo, CopyableBuilder<FontConfiguration.Builder,FontConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FontConfiguration.BuilderfontColor(String fontColor)Determines the color of the text.FontConfiguration.BuilderfontDecoration(String fontDecoration)Determines the appearance of decorative lines on the text.FontConfiguration.BuilderfontDecoration(FontDecoration fontDecoration)Determines the appearance of decorative lines on the text.default FontConfiguration.BuilderfontSize(Consumer<FontSize.Builder> fontSize)The option that determines the text display size.FontConfiguration.BuilderfontSize(FontSize fontSize)The option that determines the text display size.FontConfiguration.BuilderfontStyle(String fontStyle)Determines the text display face that is inherited by the given font family.FontConfiguration.BuilderfontStyle(FontStyle fontStyle)Determines the text display face that is inherited by the given font family.default FontConfiguration.BuilderfontWeight(Consumer<FontWeight.Builder> fontWeight)The option that determines the text display weight, or boldness.FontConfiguration.BuilderfontWeight(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 Detail
-
fontSize
FontConfiguration.Builder fontSize(FontSize 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
default FontConfiguration.Builder fontSize(Consumer<FontSize.Builder> fontSize)
The option that determines the text display size.
This is a convenience method that creates an instance of theFontSize.Builderavoiding the need to create one manually viaFontSize.builder().When the
Consumercompletes,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:
fontSize(FontSize)
-
fontDecoration
FontConfiguration.Builder fontDecoration(String 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,FontDecoration
-
fontDecoration
FontConfiguration.Builder fontDecoration(FontDecoration 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,FontDecoration
-
fontColor
FontConfiguration.Builder fontColor(String 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
FontConfiguration.Builder fontWeight(FontWeight 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
default FontConfiguration.Builder fontWeight(Consumer<FontWeight.Builder> fontWeight)
The option that determines the text display weight, or boldness.
This is a convenience method that creates an instance of theFontWeight.Builderavoiding the need to create one manually viaFontWeight.builder().When the
Consumercompletes,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:
fontWeight(FontWeight)
-
fontStyle
FontConfiguration.Builder fontStyle(String fontStyle)
Determines the text display face that is inherited by the given font family.
-
fontStyle
FontConfiguration.Builder fontStyle(FontStyle fontStyle)
Determines the text display face that is inherited by the given font family.
-
-