Class CfnAnalysis.ConditionalFormattingColorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ConditionalFormattingColorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ConditionalFormattingColorProperty>
- Enclosing interface:
CfnAnalysis.ConditionalFormattingColorProperty
@Stability(Stable)
public static final class CfnAnalysis.ConditionalFormattingColorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ConditionalFormattingColorProperty>
A builder for
CfnAnalysis.ConditionalFormattingColorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gradient(IResolvable gradient) Sets the value ofCfnAnalysis.ConditionalFormattingColorProperty.getGradient()Sets the value ofCfnAnalysis.ConditionalFormattingColorProperty.getGradient()solid(IResolvable solid) Sets the value ofCfnAnalysis.ConditionalFormattingColorProperty.getSolid()Sets the value ofCfnAnalysis.ConditionalFormattingColorProperty.getSolid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gradient
@Stability(Stable) public CfnAnalysis.ConditionalFormattingColorProperty.Builder gradient(IResolvable gradient) Sets the value ofCfnAnalysis.ConditionalFormattingColorProperty.getGradient()- Parameters:
gradient- Formatting configuration for gradient color.- Returns:
this
-
gradient
@Stability(Stable) public CfnAnalysis.ConditionalFormattingColorProperty.Builder gradient(CfnAnalysis.ConditionalFormattingGradientColorProperty gradient) Sets the value ofCfnAnalysis.ConditionalFormattingColorProperty.getGradient()- Parameters:
gradient- Formatting configuration for gradient color.- Returns:
this
-
solid
@Stability(Stable) public CfnAnalysis.ConditionalFormattingColorProperty.Builder solid(IResolvable solid) Sets the value ofCfnAnalysis.ConditionalFormattingColorProperty.getSolid()- Parameters:
solid- Formatting configuration for solid color.- Returns:
this
-
solid
@Stability(Stable) public CfnAnalysis.ConditionalFormattingColorProperty.Builder solid(CfnAnalysis.ConditionalFormattingSolidColorProperty solid) Sets the value ofCfnAnalysis.ConditionalFormattingColorProperty.getSolid()- Parameters:
solid- Formatting configuration for solid color.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.ConditionalFormattingColorProperty>- Returns:
- a new instance of
CfnAnalysis.ConditionalFormattingColorProperty - Throws:
NullPointerException- if any required attribute was not provided
-