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