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