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