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