Class CfnDashboard.DonutOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DonutOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DonutOptionsProperty>
- Enclosing interface:
CfnDashboard.DonutOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.DonutOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DonutOptionsProperty>
A builder for
CfnDashboard.DonutOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarcOptions(IResolvable arcOptions) Sets the value ofCfnDashboard.DonutOptionsProperty.getArcOptions()arcOptions(CfnDashboard.ArcOptionsProperty arcOptions) Sets the value ofCfnDashboard.DonutOptionsProperty.getArcOptions()build()Builds the configured instance.donutCenterOptions(IResolvable donutCenterOptions) Sets the value ofCfnDashboard.DonutOptionsProperty.getDonutCenterOptions()donutCenterOptions(CfnDashboard.DonutCenterOptionsProperty donutCenterOptions) Sets the value ofCfnDashboard.DonutOptionsProperty.getDonutCenterOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arcOptions
@Stability(Stable) public CfnDashboard.DonutOptionsProperty.Builder arcOptions(IResolvable arcOptions) Sets the value ofCfnDashboard.DonutOptionsProperty.getArcOptions()- Parameters:
arcOptions- The option for define the arc of the chart shape. Valid values are as follows:.WHOLE- A pie chartSMALL- A small-sized donut chartMEDIUM- A medium-sized donut chartLARGE- A large-sized donut chart
- Returns:
this
-
arcOptions
@Stability(Stable) public CfnDashboard.DonutOptionsProperty.Builder arcOptions(CfnDashboard.ArcOptionsProperty arcOptions) Sets the value ofCfnDashboard.DonutOptionsProperty.getArcOptions()- Parameters:
arcOptions- The option for define the arc of the chart shape. Valid values are as follows:.WHOLE- A pie chartSMALL- A small-sized donut chartMEDIUM- A medium-sized donut chartLARGE- A large-sized donut chart
- Returns:
this
-
donutCenterOptions
@Stability(Stable) public CfnDashboard.DonutOptionsProperty.Builder donutCenterOptions(IResolvable donutCenterOptions) Sets the value ofCfnDashboard.DonutOptionsProperty.getDonutCenterOptions()- Parameters:
donutCenterOptions- The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.- Returns:
this
-
donutCenterOptions
@Stability(Stable) public CfnDashboard.DonutOptionsProperty.Builder donutCenterOptions(CfnDashboard.DonutCenterOptionsProperty donutCenterOptions) Sets the value ofCfnDashboard.DonutOptionsProperty.getDonutCenterOptions()- Parameters:
donutCenterOptions- The label options of the label that is displayed in the center of a donut chart. This option isn't available for pie charts.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.DonutOptionsProperty>- Returns:
- a new instance of
CfnDashboard.DonutOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-