Class CfnDashboard.VisualPaletteProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.VisualPaletteProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.VisualPaletteProperty>
- Enclosing interface:
CfnDashboard.VisualPaletteProperty
@Stability(Stable)
public static final class CfnDashboard.VisualPaletteProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.VisualPaletteProperty>
A builder for
CfnDashboard.VisualPaletteProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.chartColor
(String chartColor) Sets the value ofCfnDashboard.VisualPaletteProperty.getChartColor()
Sets the value ofCfnDashboard.VisualPaletteProperty.getColorMap()
colorMap
(IResolvable colorMap) Sets the value ofCfnDashboard.VisualPaletteProperty.getColorMap()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
chartColor
Sets the value ofCfnDashboard.VisualPaletteProperty.getChartColor()
- Parameters:
chartColor
- The chart color options for the visual palette.- Returns:
this
-
colorMap
Sets the value ofCfnDashboard.VisualPaletteProperty.getColorMap()
- Parameters:
colorMap
- The color map options for the visual palette.- Returns:
this
-
colorMap
@Stability(Stable) public CfnDashboard.VisualPaletteProperty.Builder colorMap(List<? extends Object> colorMap) Sets the value ofCfnDashboard.VisualPaletteProperty.getColorMap()
- Parameters:
colorMap
- The color map options for the visual palette.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.VisualPaletteProperty>
- Returns:
- a new instance of
CfnDashboard.VisualPaletteProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-