Class CfnDashboard.DataLabelOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DataLabelOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DataLabelOptionsProperty>
- Enclosing interface:
CfnDashboard.DataLabelOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.DataLabelOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DataLabelOptionsProperty>
A builder for
CfnDashboard.DataLabelOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.categoryLabelVisibility(String categoryLabelVisibility) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getCategoryLabelVisibility()dataLabelTypes(List<? extends Object> dataLabelTypes) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getDataLabelTypes()dataLabelTypes(IResolvable dataLabelTypes) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getDataLabelTypes()labelColor(String labelColor) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getLabelColor()labelContent(String labelContent) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getLabelContent()labelFontConfiguration(IResolvable labelFontConfiguration) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getLabelFontConfiguration()labelFontConfiguration(CfnDashboard.FontConfigurationProperty labelFontConfiguration) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getLabelFontConfiguration()measureLabelVisibility(String measureLabelVisibility) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getMeasureLabelVisibility()Sets the value ofCfnDashboard.DataLabelOptionsProperty.getOverlap()Sets the value ofCfnDashboard.DataLabelOptionsProperty.getPosition()totalsVisibility(String totalsVisibility) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getTotalsVisibility()visibility(String visibility) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
categoryLabelVisibility
@Stability(Stable) public CfnDashboard.DataLabelOptionsProperty.Builder categoryLabelVisibility(String categoryLabelVisibility) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getCategoryLabelVisibility()- Parameters:
categoryLabelVisibility- Determines the visibility of the category field labels.- Returns:
this
-
dataLabelTypes
@Stability(Stable) public CfnDashboard.DataLabelOptionsProperty.Builder dataLabelTypes(IResolvable dataLabelTypes) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getDataLabelTypes()- Parameters:
dataLabelTypes- The option that determines the data label type.- Returns:
this
-
dataLabelTypes
@Stability(Stable) public CfnDashboard.DataLabelOptionsProperty.Builder dataLabelTypes(List<? extends Object> dataLabelTypes) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getDataLabelTypes()- Parameters:
dataLabelTypes- The option that determines the data label type.- Returns:
this
-
labelColor
@Stability(Stable) public CfnDashboard.DataLabelOptionsProperty.Builder labelColor(String labelColor) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getLabelColor()- Parameters:
labelColor- Determines the color of the data labels.- Returns:
this
-
labelContent
@Stability(Stable) public CfnDashboard.DataLabelOptionsProperty.Builder labelContent(String labelContent) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getLabelContent()- Parameters:
labelContent- Determines the content of the data labels.- Returns:
this
-
labelFontConfiguration
@Stability(Stable) public CfnDashboard.DataLabelOptionsProperty.Builder labelFontConfiguration(IResolvable labelFontConfiguration) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getLabelFontConfiguration()- Parameters:
labelFontConfiguration- Determines the font configuration of the data labels.- Returns:
this
-
labelFontConfiguration
@Stability(Stable) public CfnDashboard.DataLabelOptionsProperty.Builder labelFontConfiguration(CfnDashboard.FontConfigurationProperty labelFontConfiguration) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getLabelFontConfiguration()- Parameters:
labelFontConfiguration- Determines the font configuration of the data labels.- Returns:
this
-
measureLabelVisibility
@Stability(Stable) public CfnDashboard.DataLabelOptionsProperty.Builder measureLabelVisibility(String measureLabelVisibility) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getMeasureLabelVisibility()- Parameters:
measureLabelVisibility- Determines the visibility of the measure field labels.- Returns:
this
-
overlap
Sets the value ofCfnDashboard.DataLabelOptionsProperty.getOverlap()- Parameters:
overlap- Determines whether overlap is enabled or disabled for the data labels.- Returns:
this
-
position
Sets the value ofCfnDashboard.DataLabelOptionsProperty.getPosition()- Parameters:
position- Determines the position of the data labels.- Returns:
this
-
totalsVisibility
@Stability(Stable) public CfnDashboard.DataLabelOptionsProperty.Builder totalsVisibility(String totalsVisibility) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getTotalsVisibility()- Parameters:
totalsVisibility- Determines the visibility of the total.- Returns:
this
-
visibility
@Stability(Stable) public CfnDashboard.DataLabelOptionsProperty.Builder visibility(String visibility) Sets the value ofCfnDashboard.DataLabelOptionsProperty.getVisibility()- Parameters:
visibility- Determines the visibility of the data labels.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.DataLabelOptionsProperty>- Returns:
- a new instance of
CfnDashboard.DataLabelOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-