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