Class CfnDashboardPropsMixin.DonutOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDashboardPropsMixin.DonutOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.DonutOptionsProperty>
- Enclosing interface:
CfnDashboardPropsMixin.DonutOptionsProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.DonutOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.DonutOptionsProperty>
A builder for
CfnDashboardPropsMixin.DonutOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarcOptions(CfnDashboardPropsMixin.ArcOptionsProperty arcOptions) Sets the value ofCfnDashboardPropsMixin.DonutOptionsProperty.getArcOptions()arcOptions(IResolvable arcOptions) Sets the value ofCfnDashboardPropsMixin.DonutOptionsProperty.getArcOptions()build()Builds the configured instance.donutCenterOptions(CfnDashboardPropsMixin.DonutCenterOptionsProperty donutCenterOptions) Sets the value ofCfnDashboardPropsMixin.DonutOptionsProperty.getDonutCenterOptions()donutCenterOptions(IResolvable donutCenterOptions) Sets the value ofCfnDashboardPropsMixin.DonutOptionsProperty.getDonutCenterOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arcOptions
@Stability(Stable) public CfnDashboardPropsMixin.DonutOptionsProperty.Builder arcOptions(IResolvable arcOptions) Sets the value ofCfnDashboardPropsMixin.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 CfnDashboardPropsMixin.DonutOptionsProperty.Builder arcOptions(CfnDashboardPropsMixin.ArcOptionsProperty arcOptions) Sets the value ofCfnDashboardPropsMixin.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 CfnDashboardPropsMixin.DonutOptionsProperty.Builder donutCenterOptions(IResolvable donutCenterOptions) Sets the value ofCfnDashboardPropsMixin.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 CfnDashboardPropsMixin.DonutOptionsProperty.Builder donutCenterOptions(CfnDashboardPropsMixin.DonutCenterOptionsProperty donutCenterOptions) Sets the value ofCfnDashboardPropsMixin.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<CfnDashboardPropsMixin.DonutOptionsProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.DonutOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-