Class CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.FunnelChartDataLabelOptionsProperty>
- Enclosing interface:
CfnDashboard.FunnelChartDataLabelOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.FunnelChartDataLabelOptionsProperty>
A builder for
CfnDashboard.FunnelChartDataLabelOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.categoryLabelVisibility(String categoryLabelVisibility) labelColor(String labelColor) Sets the value ofCfnDashboard.FunnelChartDataLabelOptionsProperty.getLabelColor()labelFontConfiguration(IResolvable labelFontConfiguration) labelFontConfiguration(CfnDashboard.FontConfigurationProperty labelFontConfiguration) measureDataLabelStyle(String measureDataLabelStyle) measureLabelVisibility(String measureLabelVisibility) Sets the value ofCfnDashboard.FunnelChartDataLabelOptionsProperty.getPosition()visibility(String visibility) Sets the value ofCfnDashboard.FunnelChartDataLabelOptionsProperty.getVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
categoryLabelVisibility
@Stability(Stable) public CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder categoryLabelVisibility(String categoryLabelVisibility) - Parameters:
categoryLabelVisibility- The visibility of the category labels within the data labels.- Returns:
this
-
labelColor
@Stability(Stable) public CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder labelColor(String labelColor) Sets the value ofCfnDashboard.FunnelChartDataLabelOptionsProperty.getLabelColor()- Parameters:
labelColor- The color of the data label text.- Returns:
this
-
labelFontConfiguration
@Stability(Stable) public CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder labelFontConfiguration(IResolvable labelFontConfiguration) - Parameters:
labelFontConfiguration- The font configuration for the data labels. Only theFontSizeattribute of the font configuration is used for data labels.- Returns:
this
-
labelFontConfiguration
@Stability(Stable) public CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder labelFontConfiguration(CfnDashboard.FontConfigurationProperty labelFontConfiguration) - Parameters:
labelFontConfiguration- The font configuration for the data labels. Only theFontSizeattribute of the font configuration is used for data labels.- Returns:
this
-
measureDataLabelStyle
@Stability(Stable) public CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder measureDataLabelStyle(String measureDataLabelStyle) - Parameters:
measureDataLabelStyle- Determines the style of the metric labels.- Returns:
this
-
measureLabelVisibility
@Stability(Stable) public CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder measureLabelVisibility(String measureLabelVisibility) - Parameters:
measureLabelVisibility- The visibility of the measure labels within the data labels.- Returns:
this
-
position
@Stability(Stable) public CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder position(String position) Sets the value ofCfnDashboard.FunnelChartDataLabelOptionsProperty.getPosition()- Parameters:
position- Determines the positioning of the data label relative to a section of the funnel.- Returns:
this
-
visibility
@Stability(Stable) public CfnDashboard.FunnelChartDataLabelOptionsProperty.Builder visibility(String visibility) Sets the value ofCfnDashboard.FunnelChartDataLabelOptionsProperty.getVisibility()- Parameters:
visibility- The visibility option that determines if data labels are displayed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.FunnelChartDataLabelOptionsProperty>- Returns:
- a new instance of
CfnDashboard.FunnelChartDataLabelOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-