Interface CfnAnalysis.GeospatialColorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalysis.GeospatialColorProperty.Jsii$Proxy
- Enclosing class:
CfnAnalysis
@Stability(Stable)
public static interface CfnAnalysis.GeospatialColorProperty
extends software.amazon.jsii.JsiiSerializable
The visualization properties for solid, gradient, and categorical colors.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
GeospatialColorProperty geospatialColorProperty = GeospatialColorProperty.builder()
.categorical(GeospatialCategoricalColorProperty.builder()
.categoryDataColors(List.of(GeospatialCategoricalDataColorProperty.builder()
.color("color")
.dataValue("dataValue")
.build()))
// the properties below are optional
.defaultOpacity(123)
.nullDataSettings(GeospatialNullDataSettingsProperty.builder()
.symbolStyle(GeospatialNullSymbolStyleProperty.builder()
.fillColor("fillColor")
.strokeColor("strokeColor")
.strokeWidth(123)
.build())
.build())
.nullDataVisibility("nullDataVisibility")
.build())
.gradient(GeospatialGradientColorProperty.builder()
.stepColors(List.of(GeospatialGradientStepColorProperty.builder()
.color("color")
.dataValue(123)
.build()))
// the properties below are optional
.defaultOpacity(123)
.nullDataSettings(GeospatialNullDataSettingsProperty.builder()
.symbolStyle(GeospatialNullSymbolStyleProperty.builder()
.fillColor("fillColor")
.strokeColor("strokeColor")
.strokeWidth(123)
.build())
.build())
.nullDataVisibility("nullDataVisibility")
.build())
.solid(GeospatialSolidColorProperty.builder()
.color("color")
// the properties below are optional
.state("state")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnalysis.GeospatialColorPropertystatic final classAn implementation forCfnAnalysis.GeospatialColorProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCategorical
The visualization properties for the categorical color.Returns union: either
IResolvableorCfnAnalysis.GeospatialCategoricalColorProperty- See Also:
-
getGradient
The visualization properties for the gradient color.Returns union: either
IResolvableorCfnAnalysis.GeospatialGradientColorProperty- See Also:
-
getSolid
The visualization properties for the solid color.Returns union: either
IResolvableorCfnAnalysis.GeospatialSolidColorProperty- See Also:
-
builder
-