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