Class CfnDashboard.GradientColorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.GradientColorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.GradientColorProperty>
- Enclosing interface:
- CfnDashboard.GradientColorProperty
@Stability(Stable)
public static final class CfnDashboard.GradientColorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.GradientColorProperty>
A builder for
CfnDashboard.GradientColorProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDashboard.GradientColorProperty.getStops()
stops
(IResolvable stops) Sets the value ofCfnDashboard.GradientColorProperty.getStops()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stops
Sets the value ofCfnDashboard.GradientColorProperty.getStops()
- Parameters:
stops
- The list of gradient color stops.- Returns:
this
-
stops
@Stability(Stable) public CfnDashboard.GradientColorProperty.Builder stops(List<? extends Object> stops) Sets the value ofCfnDashboard.GradientColorProperty.getStops()
- Parameters:
stops
- The list of gradient color stops.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.GradientColorProperty>
- Returns:
- a new instance of
CfnDashboard.GradientColorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-