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