Interface Typography.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Typography.Builder,,Typography> SdkBuilder<Typography.Builder,,Typography> SdkPojo
- Enclosing class:
Typography
public static interface Typography.Builder
extends SdkPojo, CopyableBuilder<Typography.Builder,Typography>
-
Method Summary
Modifier and TypeMethodDescriptionfontFamilies(Collection<Font> fontFamilies) Determines the list of font families.fontFamilies(Consumer<Font.Builder>... fontFamilies) Determines the list of font families.fontFamilies(Font... fontFamilies) Determines the list of font families.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, sdkFields
-
Method Details
-
fontFamilies
Determines the list of font families.
- Parameters:
fontFamilies- Determines the list of font families.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fontFamilies
Determines the list of font families.
- Parameters:
fontFamilies- Determines the list of font families.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fontFamilies
Determines the list of font families.
This is a convenience method that creates an instance of theFont.Builderavoiding the need to create one manually viaFont.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofontFamilies(List<Font>).- Parameters:
fontFamilies- a consumer that will call methods onFont.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-