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