Class CfnWorkspace.WorkspaceThemeTypographyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnWorkspace.WorkspaceThemeTypographyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace.WorkspaceThemeTypographyProperty>
- Enclosing interface:
CfnWorkspace.WorkspaceThemeTypographyProperty
@Stability(Stable)
public static final class CfnWorkspace.WorkspaceThemeTypographyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspace.WorkspaceThemeTypographyProperty>
A builder for
CfnWorkspace.WorkspaceThemeTypographyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fontFamily(IResolvable fontFamily) Sets the value ofCfnWorkspace.WorkspaceThemeTypographyProperty.getFontFamily()fontFamily(CfnWorkspace.FontFamilyProperty fontFamily) Sets the value ofCfnWorkspace.WorkspaceThemeTypographyProperty.getFontFamily()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fontFamily
@Stability(Stable) public CfnWorkspace.WorkspaceThemeTypographyProperty.Builder fontFamily(IResolvable fontFamily) Sets the value ofCfnWorkspace.WorkspaceThemeTypographyProperty.getFontFamily()- Parameters:
fontFamily- The font family configuration for text in the workspace.- Returns:
this
-
fontFamily
@Stability(Stable) public CfnWorkspace.WorkspaceThemeTypographyProperty.Builder fontFamily(CfnWorkspace.FontFamilyProperty fontFamily) Sets the value ofCfnWorkspace.WorkspaceThemeTypographyProperty.getFontFamily()- Parameters:
fontFamily- The font family configuration for text in the workspace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspace.WorkspaceThemeTypographyProperty>- Returns:
- a new instance of
CfnWorkspace.WorkspaceThemeTypographyProperty - Throws:
NullPointerException- if any required attribute was not provided
-