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