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