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