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