Class CfnDashboard.GeospatialGradientStepColorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.GeospatialGradientStepColorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.GeospatialGradientStepColorProperty>
- Enclosing interface:
CfnDashboard.GeospatialGradientStepColorProperty
@Stability(Stable)
public static final class CfnDashboard.GeospatialGradientStepColorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.GeospatialGradientStepColorProperty>
A builder for
CfnDashboard.GeospatialGradientStepColorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDashboard.GeospatialGradientStepColorProperty.getColor()Sets the value ofCfnDashboard.GeospatialGradientStepColorProperty.getDataValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
color
@Stability(Stable) public CfnDashboard.GeospatialGradientStepColorProperty.Builder color(String color) Sets the value ofCfnDashboard.GeospatialGradientStepColorProperty.getColor()- Parameters:
color- The color and opacity values for the gradient step color. This parameter is required.- Returns:
this
-
dataValue
@Stability(Stable) public CfnDashboard.GeospatialGradientStepColorProperty.Builder dataValue(Number dataValue) Sets the value ofCfnDashboard.GeospatialGradientStepColorProperty.getDataValue()- Parameters:
dataValue- The data value for the gradient step color. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.GeospatialGradientStepColorProperty>- Returns:
- a new instance of
CfnDashboard.GeospatialGradientStepColorProperty - Throws:
NullPointerException- if any required attribute was not provided
-