Class CfnAnalysis.GaugeChartColorConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.GaugeChartColorConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.GaugeChartColorConfigurationProperty>
- Enclosing interface:
CfnAnalysis.GaugeChartColorConfigurationProperty
@Stability(Stable)
public static final class CfnAnalysis.GaugeChartColorConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.GaugeChartColorConfigurationProperty>
A builder for
CfnAnalysis.GaugeChartColorConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor(String backgroundColor) Sets the value ofCfnAnalysis.GaugeChartColorConfigurationProperty.getBackgroundColor()build()Builds the configured instance.foregroundColor(String foregroundColor) Sets the value ofCfnAnalysis.GaugeChartColorConfigurationProperty.getForegroundColor()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backgroundColor
@Stability(Stable) public CfnAnalysis.GaugeChartColorConfigurationProperty.Builder backgroundColor(String backgroundColor) Sets the value ofCfnAnalysis.GaugeChartColorConfigurationProperty.getBackgroundColor()- Parameters:
backgroundColor- The background color configuration of aGaugeChartVisual.- Returns:
this
-
foregroundColor
@Stability(Stable) public CfnAnalysis.GaugeChartColorConfigurationProperty.Builder foregroundColor(String foregroundColor) Sets the value ofCfnAnalysis.GaugeChartColorConfigurationProperty.getForegroundColor()- Parameters:
foregroundColor- The foreground color configuration of aGaugeChartVisual.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.GaugeChartColorConfigurationProperty>- Returns:
- a new instance of
CfnAnalysis.GaugeChartColorConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-