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