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