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