Class CfnAnalysis.ShapeConditionalFormatProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ShapeConditionalFormatProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ShapeConditionalFormatProperty>
- Enclosing interface:
CfnAnalysis.ShapeConditionalFormatProperty
@Stability(Stable)
public static final class CfnAnalysis.ShapeConditionalFormatProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ShapeConditionalFormatProperty>
A builder for
CfnAnalysis.ShapeConditionalFormatProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor
(IResolvable backgroundColor) Sets the value ofCfnAnalysis.ShapeConditionalFormatProperty.getBackgroundColor()
backgroundColor
(CfnAnalysis.ConditionalFormattingColorProperty backgroundColor) Sets the value ofCfnAnalysis.ShapeConditionalFormatProperty.getBackgroundColor()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backgroundColor
@Stability(Stable) public CfnAnalysis.ShapeConditionalFormatProperty.Builder backgroundColor(IResolvable backgroundColor) Sets the value ofCfnAnalysis.ShapeConditionalFormatProperty.getBackgroundColor()
- Parameters:
backgroundColor
- The conditional formatting for the shape background color of a filled map visual. This parameter is required.- Returns:
this
-
backgroundColor
@Stability(Stable) public CfnAnalysis.ShapeConditionalFormatProperty.Builder backgroundColor(CfnAnalysis.ConditionalFormattingColorProperty backgroundColor) Sets the value ofCfnAnalysis.ShapeConditionalFormatProperty.getBackgroundColor()
- Parameters:
backgroundColor
- The conditional formatting for the shape background color of a filled map visual. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.ShapeConditionalFormatProperty>
- Returns:
- a new instance of
CfnAnalysis.ShapeConditionalFormatProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-