Class CfnAnalysis.ColorScaleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ColorScaleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ColorScaleProperty>
- Enclosing interface:
CfnAnalysis.ColorScaleProperty
@Stability(Stable)
public static final class CfnAnalysis.ColorScaleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ColorScaleProperty>
A builder for
CfnAnalysis.ColorScaleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.colorFillType(String colorFillType) Sets the value ofCfnAnalysis.ColorScaleProperty.getColorFillType()Sets the value ofCfnAnalysis.ColorScaleProperty.getColors()colors(IResolvable colors) Sets the value ofCfnAnalysis.ColorScaleProperty.getColors()nullValueColor(IResolvable nullValueColor) Sets the value ofCfnAnalysis.ColorScaleProperty.getNullValueColor()nullValueColor(CfnAnalysis.DataColorProperty nullValueColor) Sets the value ofCfnAnalysis.ColorScaleProperty.getNullValueColor()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
colorFillType
@Stability(Stable) public CfnAnalysis.ColorScaleProperty.Builder colorFillType(String colorFillType) Sets the value ofCfnAnalysis.ColorScaleProperty.getColorFillType()- Parameters:
colorFillType- Determines the color fill type. This parameter is required.- Returns:
this
-
colors
Sets the value ofCfnAnalysis.ColorScaleProperty.getColors()- Parameters:
colors- Determines the list of colors that are applied to the visual. This parameter is required.- Returns:
this
-
colors
@Stability(Stable) public CfnAnalysis.ColorScaleProperty.Builder colors(List<? extends Object> colors) Sets the value ofCfnAnalysis.ColorScaleProperty.getColors()- Parameters:
colors- Determines the list of colors that are applied to the visual. This parameter is required.- Returns:
this
-
nullValueColor
@Stability(Stable) public CfnAnalysis.ColorScaleProperty.Builder nullValueColor(IResolvable nullValueColor) Sets the value ofCfnAnalysis.ColorScaleProperty.getNullValueColor()- Parameters:
nullValueColor- Determines the color that is applied to null values.- Returns:
this
-
nullValueColor
@Stability(Stable) public CfnAnalysis.ColorScaleProperty.Builder nullValueColor(CfnAnalysis.DataColorProperty nullValueColor) Sets the value ofCfnAnalysis.ColorScaleProperty.getNullValueColor()- Parameters:
nullValueColor- Determines the color that is applied to null values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.ColorScaleProperty>- Returns:
- a new instance of
CfnAnalysis.ColorScaleProperty - Throws:
NullPointerException- if any required attribute was not provided
-