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