Interface WorkspaceThemeTypography.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceThemeTypography.Builder,,WorkspaceThemeTypography> SdkBuilder<WorkspaceThemeTypography.Builder,,WorkspaceThemeTypography> SdkPojo
- Enclosing class:
WorkspaceThemeTypography
@Mutable
@NotThreadSafe
public static interface WorkspaceThemeTypography.Builder
extends SdkPojo, CopyableBuilder<WorkspaceThemeTypography.Builder,WorkspaceThemeTypography>
-
Method Summary
Modifier and TypeMethodDescriptiondefault WorkspaceThemeTypography.BuilderfontFamily(Consumer<FontFamily.Builder> fontFamily) The font family configuration for text in the workspace.fontFamily(FontFamily fontFamily) The font family configuration for text in the workspace.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, sdkFieldNameToField, sdkFields
-
Method Details
-
fontFamily
The font family configuration for text in the workspace.
- Parameters:
fontFamily- The font family configuration for text in the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fontFamily
The font family configuration for text in the workspace.
This is a convenience method that creates an instance of theFontFamily.Builderavoiding the need to create one manually viaFontFamily.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofontFamily(FontFamily).- Parameters:
fontFamily- a consumer that will call methods onFontFamily.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-