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