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