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