Interface DonutOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DonutOptions.Builder,
,DonutOptions> SdkBuilder<DonutOptions.Builder,
,DonutOptions> SdkPojo
- Enclosing class:
DonutOptions
-
Method Summary
Modifier and TypeMethodDescriptiondefault DonutOptions.Builder
arcOptions
(Consumer<ArcOptions.Builder> arcOptions) The option for define the arc of the chart shape.arcOptions
(ArcOptions arcOptions) The option for define the arc of the chart shape.default DonutOptions.Builder
donutCenterOptions
(Consumer<DonutCenterOptions.Builder> donutCenterOptions) The label options of the label that is displayed in the center of a donut chart.donutCenterOptions
(DonutCenterOptions donutCenterOptions) The label options of the label that is displayed in the center of a donut chart.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arcOptions
The option for define the arc of the chart shape. Valid values are as follows:
-
WHOLE
- A pie chart -
SMALL
- A small-sized donut chart -
MEDIUM
- A medium-sized donut chart -
LARGE
- A large-sized donut chart
- Parameters:
arcOptions
- The option for define the arc of the chart shape. Valid values are as follows:-
WHOLE
- A pie chart -
SMALL
- A small-sized donut chart -
MEDIUM
- A medium-sized donut chart -
LARGE
- A large-sized donut chart
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
arcOptions
The option for define the arc of the chart shape. Valid values are as follows:
-
WHOLE
- A pie chart -
SMALL
- A small-sized donut chart -
MEDIUM
- A medium-sized donut chart -
LARGE
- A large-sized donut chart
ArcOptions.Builder
avoiding the need to create one manually viaArcOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toarcOptions(ArcOptions)
.- Parameters:
arcOptions
- a consumer that will call methods onArcOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
donutCenterOptions
default DonutOptions.Builder donutCenterOptions(Consumer<DonutCenterOptions.Builder> 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.
This is a convenience method that creates an instance of theDonutCenterOptions.Builder
avoiding the need to create one manually viaDonutCenterOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todonutCenterOptions(DonutCenterOptions)
.- Parameters:
donutCenterOptions
- a consumer that will call methods onDonutCenterOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-