Class CfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty>
- Enclosing interface:
CfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.foregroundColor(CfnTemplatePropsMixin.ConditionalFormattingColorProperty foregroundColor) foregroundColor(IResolvable foregroundColor)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
foregroundColor
@Stability(Stable) public CfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty.Builder foregroundColor(IResolvable foregroundColor) Sets the value ofCfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty.getForegroundColor()- Parameters:
foregroundColor- The conditional formatting of the progress bar's foreground color.- Returns:
this
-
foregroundColor
@Stability(Stable) public CfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty.Builder foregroundColor(CfnTemplatePropsMixin.ConditionalFormattingColorProperty foregroundColor) Sets the value ofCfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty.getForegroundColor()- Parameters:
foregroundColor- The conditional formatting of the progress bar's foreground color.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.KPIProgressBarConditionalFormattingProperty - Throws:
NullPointerException- if any required attribute was not provided
-