Interface DonutOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DonutOptions.Builder,,DonutOptions> SdkBuilder<DonutOptions.Builder,,DonutOptions> SdkPojo
- Enclosing class:
DonutOptions
-
Method Summary
Modifier and TypeMethodDescriptiondefault DonutOptions.BuilderarcOptions(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.BuilderdonutCenterOptions(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaArcOptions.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDonutCenterOptions.builder().When the
Consumercompletes,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:
-