Class CfnDashboard.ColorsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.ColorsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.ColorsConfigurationProperty>
- Enclosing interface:
CfnDashboard.ColorsConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.ColorsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.ColorsConfigurationProperty>
A builder for
CfnDashboard.ColorsConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.customColors
(List<? extends Object> customColors) Sets the value ofCfnDashboard.ColorsConfigurationProperty.getCustomColors()
customColors
(IResolvable customColors) Sets the value ofCfnDashboard.ColorsConfigurationProperty.getCustomColors()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customColors
@Stability(Stable) public CfnDashboard.ColorsConfigurationProperty.Builder customColors(IResolvable customColors) Sets the value ofCfnDashboard.ColorsConfigurationProperty.getCustomColors()
- Parameters:
customColors
- A list of up to 50 custom colors.- Returns:
this
-
customColors
@Stability(Stable) public CfnDashboard.ColorsConfigurationProperty.Builder customColors(List<? extends Object> customColors) Sets the value ofCfnDashboard.ColorsConfigurationProperty.getCustomColors()
- Parameters:
customColors
- A list of up to 50 custom colors.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.ColorsConfigurationProperty>
- Returns:
- a new instance of
CfnDashboard.ColorsConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-