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