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