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