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