Class CfnDashboard.GeospatialCategoricalColorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialCategoricalColorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.GeospatialCategoricalColorProperty>
- Enclosing interface:
CfnDashboard.GeospatialCategoricalColorProperty
@Stability(Stable)
public static final class CfnDashboard.GeospatialCategoricalColorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.GeospatialCategoricalColorProperty>
A builder for
CfnDashboard.GeospatialCategoricalColorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.categoryDataColors(List<? extends Object> categoryDataColors) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getCategoryDataColors()categoryDataColors(IResolvable categoryDataColors) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getCategoryDataColors()defaultOpacity(Number defaultOpacity) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getDefaultOpacity()nullDataSettings(IResolvable nullDataSettings) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getNullDataSettings()nullDataSettings(CfnDashboard.GeospatialNullDataSettingsProperty nullDataSettings) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getNullDataSettings()nullDataVisibility(String nullDataVisibility) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getNullDataVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
categoryDataColors
@Stability(Stable) public CfnDashboard.GeospatialCategoricalColorProperty.Builder categoryDataColors(IResolvable categoryDataColors) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getCategoryDataColors()- Parameters:
categoryDataColors- A list of categorical data colors for each category. This parameter is required.- Returns:
this
-
categoryDataColors
@Stability(Stable) public CfnDashboard.GeospatialCategoricalColorProperty.Builder categoryDataColors(List<? extends Object> categoryDataColors) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getCategoryDataColors()- Parameters:
categoryDataColors- A list of categorical data colors for each category. This parameter is required.- Returns:
this
-
defaultOpacity
@Stability(Stable) public CfnDashboard.GeospatialCategoricalColorProperty.Builder defaultOpacity(Number defaultOpacity) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getDefaultOpacity()- Parameters:
defaultOpacity- The default opacity of a categorical color.- Returns:
this
-
nullDataSettings
@Stability(Stable) public CfnDashboard.GeospatialCategoricalColorProperty.Builder nullDataSettings(IResolvable nullDataSettings) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getNullDataSettings()- Parameters:
nullDataSettings- The null data visualization settings.- Returns:
this
-
nullDataSettings
@Stability(Stable) public CfnDashboard.GeospatialCategoricalColorProperty.Builder nullDataSettings(CfnDashboard.GeospatialNullDataSettingsProperty nullDataSettings) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getNullDataSettings()- Parameters:
nullDataSettings- The null data visualization settings.- Returns:
this
-
nullDataVisibility
@Stability(Stable) public CfnDashboard.GeospatialCategoricalColorProperty.Builder nullDataVisibility(String nullDataVisibility) Sets the value ofCfnDashboard.GeospatialCategoricalColorProperty.getNullDataVisibility()- Parameters:
nullDataVisibility- The state of visibility for null data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.GeospatialCategoricalColorProperty>- Returns:
- a new instance of
CfnDashboard.GeospatialCategoricalColorProperty - Throws:
NullPointerException- if any required attribute was not provided
-