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