Interface DonutOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DonutOptions.Builder,DonutOptions>,SdkBuilder<DonutOptions.Builder,DonutOptions>,SdkPojo
- Enclosing class:
- DonutOptions
public static interface DonutOptions.Builder extends SdkPojo, CopyableBuilder<DonutOptions.Builder,DonutOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DonutOptions.BuilderarcOptions(Consumer<ArcOptions.Builder> arcOptions)The option for define the arc of the chart shape.DonutOptions.BuilderarcOptions(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.DonutOptions.BuilderdonutCenterOptions(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, sdkFields
-
-
-
-
Method Detail
-
arcOptions
DonutOptions.Builder arcOptions(ArcOptions 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
default DonutOptions.Builder arcOptions(Consumer<ArcOptions.Builder> 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:
arcOptions(ArcOptions)
-
-
donutCenterOptions
DonutOptions.Builder donutCenterOptions(DonutCenterOptions 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:
donutCenterOptions(DonutCenterOptions)
-
-