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