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