Class CfnTemplate.CustomColorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.CustomColorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.CustomColorProperty>
- Enclosing interface:
CfnTemplate.CustomColorProperty
@Stability(Stable)
public static final class CfnTemplate.CustomColorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.CustomColorProperty>
A builder for
CfnTemplate.CustomColorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplate.CustomColorProperty.getColor()fieldValue(String fieldValue) Sets the value ofCfnTemplate.CustomColorProperty.getFieldValue()specialValue(String specialValue) Sets the value ofCfnTemplate.CustomColorProperty.getSpecialValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
color
Sets the value ofCfnTemplate.CustomColorProperty.getColor()- Parameters:
color- The color that is applied to the data value. This parameter is required.- Returns:
this
-
fieldValue
Sets the value ofCfnTemplate.CustomColorProperty.getFieldValue()- Parameters:
fieldValue- The data value that the color is applied to.- Returns:
this
-
specialValue
Sets the value ofCfnTemplate.CustomColorProperty.getSpecialValue()- Parameters:
specialValue- The value of a special data value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.CustomColorProperty>- Returns:
- a new instance of
CfnTemplate.CustomColorProperty - Throws:
NullPointerException- if any required attribute was not provided
-