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