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