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