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