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