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