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