Class CfnAnalysis.GeospatialColorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.GeospatialColorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.GeospatialColorProperty>
- Enclosing interface:
CfnAnalysis.GeospatialColorProperty
@Stability(Stable)
public static final class CfnAnalysis.GeospatialColorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.GeospatialColorProperty>
A builder for
CfnAnalysis.GeospatialColorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.categorical(IResolvable categorical) Sets the value ofCfnAnalysis.GeospatialColorProperty.getCategorical()Sets the value ofCfnAnalysis.GeospatialColorProperty.getCategorical()gradient(IResolvable gradient) Sets the value ofCfnAnalysis.GeospatialColorProperty.getGradient()Sets the value ofCfnAnalysis.GeospatialColorProperty.getGradient()solid(IResolvable solid) Sets the value ofCfnAnalysis.GeospatialColorProperty.getSolid()Sets the value ofCfnAnalysis.GeospatialColorProperty.getSolid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
categorical
@Stability(Stable) public CfnAnalysis.GeospatialColorProperty.Builder categorical(IResolvable categorical) Sets the value ofCfnAnalysis.GeospatialColorProperty.getCategorical()- Parameters:
categorical- The visualization properties for the categorical color.- Returns:
this
-
categorical
@Stability(Stable) public CfnAnalysis.GeospatialColorProperty.Builder categorical(CfnAnalysis.GeospatialCategoricalColorProperty categorical) Sets the value ofCfnAnalysis.GeospatialColorProperty.getCategorical()- Parameters:
categorical- The visualization properties for the categorical color.- Returns:
this
-
gradient
@Stability(Stable) public CfnAnalysis.GeospatialColorProperty.Builder gradient(IResolvable gradient) Sets the value ofCfnAnalysis.GeospatialColorProperty.getGradient()- Parameters:
gradient- The visualization properties for the gradient color.- Returns:
this
-
gradient
@Stability(Stable) public CfnAnalysis.GeospatialColorProperty.Builder gradient(CfnAnalysis.GeospatialGradientColorProperty gradient) Sets the value ofCfnAnalysis.GeospatialColorProperty.getGradient()- Parameters:
gradient- The visualization properties for the gradient color.- Returns:
this
-
solid
Sets the value ofCfnAnalysis.GeospatialColorProperty.getSolid()- Parameters:
solid- The visualization properties for the solid color.- Returns:
this
-
solid
@Stability(Stable) public CfnAnalysis.GeospatialColorProperty.Builder solid(CfnAnalysis.GeospatialSolidColorProperty solid) Sets the value ofCfnAnalysis.GeospatialColorProperty.getSolid()- Parameters:
solid- The visualization properties for the solid color.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.GeospatialColorProperty>- Returns:
- a new instance of
CfnAnalysis.GeospatialColorProperty - Throws:
NullPointerException- if any required attribute was not provided
-