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