Interface Typography.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Typography.Builder,
,Typography> SdkBuilder<Typography.Builder,
,Typography> SdkPojo
- Enclosing class:
Typography
@Mutable
@NotThreadSafe
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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaFont.builder()
.When the
Consumer
completes,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:
-