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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Typography.BuilderfontFamilies(Collection<Font> fontFamilies)Determines the list of font families.Typography.BuilderfontFamilies(Consumer<Font.Builder>... fontFamilies)Determines the list of font families.Typography.BuilderfontFamilies(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, sdkFields
-
-
-
-
Method Detail
-
fontFamilies
Typography.Builder fontFamilies(Collection<Font> 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
Typography.Builder fontFamilies(Font... 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
Typography.Builder fontFamilies(Consumer<Font.Builder>... 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 to#fontFamilies(List).- 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:
#fontFamilies(java.util.Collection)
-
-