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