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