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