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
-
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
-CfnDashboard.CustomColorProperty.Color
. This parameter is required.- Returns:
this
-
fieldValue
Sets the value ofCfnDashboard.CustomColorProperty.getFieldValue()
- Parameters:
fieldValue
-CfnDashboard.CustomColorProperty.FieldValue
.- Returns:
this
-
specialValue
@Stability(Stable) public CfnDashboard.CustomColorProperty.Builder specialValue(String specialValue) Sets the value ofCfnDashboard.CustomColorProperty.getSpecialValue()
- Parameters:
specialValue
-CfnDashboard.CustomColorProperty.SpecialValue
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.CustomColorProperty>
- Returns:
- a new instance of
CfnDashboard.CustomColorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-