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