Class CfnWorkspace.PaletteCanvasProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnWorkspace.PaletteCanvasProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace.PaletteCanvasProperty>
- Enclosing interface:
CfnWorkspace.PaletteCanvasProperty
@Stability(Stable)
public static final class CfnWorkspace.PaletteCanvasProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspace.PaletteCanvasProperty>
A builder for
CfnWorkspace.PaletteCanvasProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveBackground(String activeBackground) Sets the value ofCfnWorkspace.PaletteCanvasProperty.getActiveBackground()build()Builds the configured instance.containerBackground(String containerBackground) Sets the value ofCfnWorkspace.PaletteCanvasProperty.getContainerBackground()pageBackground(String pageBackground) Sets the value ofCfnWorkspace.PaletteCanvasProperty.getPageBackground()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activeBackground
@Stability(Stable) public CfnWorkspace.PaletteCanvasProperty.Builder activeBackground(String activeBackground) Sets the value ofCfnWorkspace.PaletteCanvasProperty.getActiveBackground()- Parameters:
activeBackground- The background color for active elements.- Returns:
this
-
containerBackground
@Stability(Stable) public CfnWorkspace.PaletteCanvasProperty.Builder containerBackground(String containerBackground) Sets the value ofCfnWorkspace.PaletteCanvasProperty.getContainerBackground()- Parameters:
containerBackground- The background color for container elements.- Returns:
this
-
pageBackground
@Stability(Stable) public CfnWorkspace.PaletteCanvasProperty.Builder pageBackground(String pageBackground) Sets the value ofCfnWorkspace.PaletteCanvasProperty.getPageBackground()- Parameters:
pageBackground- The background color for page elements.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspace.PaletteCanvasProperty>- Returns:
- a new instance of
CfnWorkspace.PaletteCanvasProperty - Throws:
NullPointerException- if any required attribute was not provided
-