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