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