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