Class CfnDashboard.DonutCenterOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DonutCenterOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DonutCenterOptionsProperty>
- Enclosing interface:
CfnDashboard.DonutCenterOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.DonutCenterOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DonutCenterOptionsProperty>
A builder for
CfnDashboard.DonutCenterOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.labelVisibility
(String labelVisibility) Sets the value ofCfnDashboard.DonutCenterOptionsProperty.getLabelVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
labelVisibility
@Stability(Stable) public CfnDashboard.DonutCenterOptionsProperty.Builder labelVisibility(String labelVisibility) Sets the value ofCfnDashboard.DonutCenterOptionsProperty.getLabelVisibility()
- Parameters:
labelVisibility
- Determines the visibility of the label in a donut chart. In the Amazon QuickSight console, this option is called'Show total'
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.DonutCenterOptionsProperty>
- Returns:
- a new instance of
CfnDashboard.DonutCenterOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-