Class CfnWorkspace.PaletteHeaderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnWorkspace.PaletteHeaderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace.PaletteHeaderProperty>
- Enclosing interface:
CfnWorkspace.PaletteHeaderProperty
@Stability(Stable)
public static final class CfnWorkspace.PaletteHeaderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspace.PaletteHeaderProperty>
A builder for
CfnWorkspace.PaletteHeaderProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackground(String background) Sets the value ofCfnWorkspace.PaletteHeaderProperty.getBackground()build()Builds the configured instance.invertActionsColors(Boolean invertActionsColors) Sets the value ofCfnWorkspace.PaletteHeaderProperty.getInvertActionsColors()invertActionsColors(IResolvable invertActionsColors) Sets the value ofCfnWorkspace.PaletteHeaderProperty.getInvertActionsColors()Sets the value ofCfnWorkspace.PaletteHeaderProperty.getText()Sets the value ofCfnWorkspace.PaletteHeaderProperty.getTextHover()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
background
Sets the value ofCfnWorkspace.PaletteHeaderProperty.getBackground()- Parameters:
background- The background color of the header.- Returns:
this
-
invertActionsColors
@Stability(Stable) public CfnWorkspace.PaletteHeaderProperty.Builder invertActionsColors(Boolean invertActionsColors) Sets the value ofCfnWorkspace.PaletteHeaderProperty.getInvertActionsColors()- Parameters:
invertActionsColors- Whether to invert the colors of action buttons in the header.- Returns:
this
-
invertActionsColors
@Stability(Stable) public CfnWorkspace.PaletteHeaderProperty.Builder invertActionsColors(IResolvable invertActionsColors) Sets the value ofCfnWorkspace.PaletteHeaderProperty.getInvertActionsColors()- Parameters:
invertActionsColors- Whether to invert the colors of action buttons in the header.- Returns:
this
-
text
Sets the value ofCfnWorkspace.PaletteHeaderProperty.getText()- Parameters:
text- The text color in the header.- Returns:
this
-
textHover
Sets the value ofCfnWorkspace.PaletteHeaderProperty.getTextHover()- Parameters:
textHover- The text color when hovering over header elements.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspace.PaletteHeaderProperty>- Returns:
- a new instance of
CfnWorkspace.PaletteHeaderProperty - Throws:
NullPointerException- if any required attribute was not provided
-