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