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