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