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