Class CfnTheme.DataColorPaletteProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTheme.DataColorPaletteProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTheme.DataColorPaletteProperty>
- Enclosing interface:
CfnTheme.DataColorPaletteProperty
@Stability(Stable)
public static final class CfnTheme.DataColorPaletteProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTheme.DataColorPaletteProperty>
A builder for
CfnTheme.DataColorPaletteProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTheme.DataColorPaletteProperty.getColors()
emptyFillColor
(String emptyFillColor) Sets the value ofCfnTheme.DataColorPaletteProperty.getEmptyFillColor()
minMaxGradient
(List<String> minMaxGradient) Sets the value ofCfnTheme.DataColorPaletteProperty.getMinMaxGradient()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
colors
Sets the value ofCfnTheme.DataColorPaletteProperty.getColors()
- Parameters:
colors
- The hexadecimal codes for the colors.- Returns:
this
-
emptyFillColor
@Stability(Stable) public CfnTheme.DataColorPaletteProperty.Builder emptyFillColor(String emptyFillColor) Sets the value ofCfnTheme.DataColorPaletteProperty.getEmptyFillColor()
- Parameters:
emptyFillColor
- The hexadecimal code of a color that applies to charts where a lack of data is highlighted.- Returns:
this
-
minMaxGradient
@Stability(Stable) public CfnTheme.DataColorPaletteProperty.Builder minMaxGradient(List<String> minMaxGradient) Sets the value ofCfnTheme.DataColorPaletteProperty.getMinMaxGradient()
- Parameters:
minMaxGradient
- The minimum and maximum hexadecimal codes that describe a color gradient.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTheme.DataColorPaletteProperty>
- Returns:
- a new instance of
CfnTheme.DataColorPaletteProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-