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