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