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