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