Class CfnDashboard.GeospatialGradientColorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialGradientColorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.GeospatialGradientColorProperty>
- Enclosing interface:
CfnDashboard.GeospatialGradientColorProperty
@Stability(Stable)
public static final class CfnDashboard.GeospatialGradientColorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.GeospatialGradientColorProperty>
A builder for
CfnDashboard.GeospatialGradientColorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultOpacity(Number defaultOpacity) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.getDefaultOpacity()nullDataSettings(IResolvable nullDataSettings) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.getNullDataSettings()nullDataSettings(CfnDashboard.GeospatialNullDataSettingsProperty nullDataSettings) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.getNullDataSettings()nullDataVisibility(String nullDataVisibility) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.getNullDataVisibility()stepColors(List<? extends Object> stepColors) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.getStepColors()stepColors(IResolvable stepColors) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.getStepColors()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stepColors
@Stability(Stable) public CfnDashboard.GeospatialGradientColorProperty.Builder stepColors(IResolvable stepColors) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.getStepColors()- Parameters:
stepColors- A list of gradient step colors for the gradient. This parameter is required.- Returns:
this
-
stepColors
@Stability(Stable) public CfnDashboard.GeospatialGradientColorProperty.Builder stepColors(List<? extends Object> stepColors) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.getStepColors()- Parameters:
stepColors- A list of gradient step colors for the gradient. This parameter is required.- Returns:
this
-
defaultOpacity
@Stability(Stable) public CfnDashboard.GeospatialGradientColorProperty.Builder defaultOpacity(Number defaultOpacity) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.getDefaultOpacity()- Parameters:
defaultOpacity- The default opacity for the gradient color.- Returns:
this
-
nullDataSettings
@Stability(Stable) public CfnDashboard.GeospatialGradientColorProperty.Builder nullDataSettings(IResolvable nullDataSettings) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.getNullDataSettings()- Parameters:
nullDataSettings- The null data visualization settings.- Returns:
this
-
nullDataSettings
@Stability(Stable) public CfnDashboard.GeospatialGradientColorProperty.Builder nullDataSettings(CfnDashboard.GeospatialNullDataSettingsProperty nullDataSettings) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.getNullDataSettings()- Parameters:
nullDataSettings- The null data visualization settings.- Returns:
this
-
nullDataVisibility
@Stability(Stable) public CfnDashboard.GeospatialGradientColorProperty.Builder nullDataVisibility(String nullDataVisibility) Sets the value ofCfnDashboard.GeospatialGradientColorProperty.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.GeospatialGradientColorProperty>- Returns:
- a new instance of
CfnDashboard.GeospatialGradientColorProperty - Throws:
NullPointerException- if any required attribute was not provided
-