Interface PieChartConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<PieChartConfiguration.Builder,PieChartConfiguration>
,SdkBuilder<PieChartConfiguration.Builder,PieChartConfiguration>
,SdkPojo
- Enclosing class:
- PieChartConfiguration
public static interface PieChartConfiguration.Builder extends SdkPojo, CopyableBuilder<PieChartConfiguration.Builder,PieChartConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PieChartConfiguration.Builder
categoryLabelOptions(Consumer<ChartAxisLabelOptions.Builder> categoryLabelOptions)
The label options of the group/color that is displayed in a pie chart.PieChartConfiguration.Builder
categoryLabelOptions(ChartAxisLabelOptions categoryLabelOptions)
The label options of the group/color that is displayed in a pie chart.PieChartConfiguration.Builder
contributionAnalysisDefaults(Collection<ContributionAnalysisDefault> contributionAnalysisDefaults)
The contribution analysis (anomaly configuration) setup of the visual.PieChartConfiguration.Builder
contributionAnalysisDefaults(Consumer<ContributionAnalysisDefault.Builder>... contributionAnalysisDefaults)
The contribution analysis (anomaly configuration) setup of the visual.PieChartConfiguration.Builder
contributionAnalysisDefaults(ContributionAnalysisDefault... contributionAnalysisDefaults)
The contribution analysis (anomaly configuration) setup of the visual.default PieChartConfiguration.Builder
dataLabels(Consumer<DataLabelOptions.Builder> dataLabels)
The options that determine if visual data labels are displayed.PieChartConfiguration.Builder
dataLabels(DataLabelOptions dataLabels)
The options that determine if visual data labels are displayed.default PieChartConfiguration.Builder
donutOptions(Consumer<DonutOptions.Builder> donutOptions)
The options that determine the shape of the chart.PieChartConfiguration.Builder
donutOptions(DonutOptions donutOptions)
The options that determine the shape of the chart.default PieChartConfiguration.Builder
fieldWells(Consumer<PieChartFieldWells.Builder> fieldWells)
The field wells of the visual.PieChartConfiguration.Builder
fieldWells(PieChartFieldWells fieldWells)
The field wells of the visual.default PieChartConfiguration.Builder
interactions(Consumer<VisualInteractionOptions.Builder> interactions)
The general visual interactions setup for a visual.PieChartConfiguration.Builder
interactions(VisualInteractionOptions interactions)
The general visual interactions setup for a visual.default PieChartConfiguration.Builder
legend(Consumer<LegendOptions.Builder> legend)
The legend display setup of the visual.PieChartConfiguration.Builder
legend(LegendOptions legend)
The legend display setup of the visual.default PieChartConfiguration.Builder
smallMultiplesOptions(Consumer<SmallMultiplesOptions.Builder> smallMultiplesOptions)
The small multiples setup for the visual.PieChartConfiguration.Builder
smallMultiplesOptions(SmallMultiplesOptions smallMultiplesOptions)
The small multiples setup for the visual.default PieChartConfiguration.Builder
sortConfiguration(Consumer<PieChartSortConfiguration.Builder> sortConfiguration)
The sort configuration of a pie chart.PieChartConfiguration.Builder
sortConfiguration(PieChartSortConfiguration sortConfiguration)
The sort configuration of a pie chart.default PieChartConfiguration.Builder
tooltip(Consumer<TooltipOptions.Builder> tooltip)
The tooltip display setup of the visual.PieChartConfiguration.Builder
tooltip(TooltipOptions tooltip)
The tooltip display setup of the visual.default PieChartConfiguration.Builder
valueLabelOptions(Consumer<ChartAxisLabelOptions.Builder> valueLabelOptions)
The label options for the value that is displayed in a pie chart.PieChartConfiguration.Builder
valueLabelOptions(ChartAxisLabelOptions valueLabelOptions)
The label options for the value that is displayed in a pie chart.default PieChartConfiguration.Builder
visualPalette(Consumer<VisualPalette.Builder> visualPalette)
The palette (chart color) display setup of the visual.PieChartConfiguration.Builder
visualPalette(VisualPalette visualPalette)
The palette (chart color) display setup of the visual.-
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
-
fieldWells
PieChartConfiguration.Builder fieldWells(PieChartFieldWells fieldWells)
The field wells of the visual.
- Parameters:
fieldWells
- The field wells of the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldWells
default PieChartConfiguration.Builder fieldWells(Consumer<PieChartFieldWells.Builder> fieldWells)
The field wells of the visual.
This is a convenience method that creates an instance of thePieChartFieldWells.Builder
avoiding the need to create one manually viaPieChartFieldWells.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofieldWells(PieChartFieldWells)
.- Parameters:
fieldWells
- a consumer that will call methods onPieChartFieldWells.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
fieldWells(PieChartFieldWells)
-
sortConfiguration
PieChartConfiguration.Builder sortConfiguration(PieChartSortConfiguration sortConfiguration)
The sort configuration of a pie chart.
- Parameters:
sortConfiguration
- The sort configuration of a pie chart.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortConfiguration
default PieChartConfiguration.Builder sortConfiguration(Consumer<PieChartSortConfiguration.Builder> sortConfiguration)
The sort configuration of a pie chart.
This is a convenience method that creates an instance of thePieChartSortConfiguration.Builder
avoiding the need to create one manually viaPieChartSortConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortConfiguration(PieChartSortConfiguration)
.- Parameters:
sortConfiguration
- a consumer that will call methods onPieChartSortConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sortConfiguration(PieChartSortConfiguration)
-
donutOptions
PieChartConfiguration.Builder donutOptions(DonutOptions donutOptions)
The options that determine the shape of the chart. This option determines whether the chart is a pie chart or a donut chart.
- Parameters:
donutOptions
- The options that determine the shape of the chart. This option determines whether the chart is a pie chart or a donut chart.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
donutOptions
default PieChartConfiguration.Builder donutOptions(Consumer<DonutOptions.Builder> donutOptions)
The options that determine the shape of the chart. This option determines whether the chart is a pie chart or a donut chart.
This is a convenience method that creates an instance of theDonutOptions.Builder
avoiding the need to create one manually viaDonutOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todonutOptions(DonutOptions)
.- Parameters:
donutOptions
- a consumer that will call methods onDonutOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
donutOptions(DonutOptions)
-
smallMultiplesOptions
PieChartConfiguration.Builder smallMultiplesOptions(SmallMultiplesOptions smallMultiplesOptions)
The small multiples setup for the visual.
- Parameters:
smallMultiplesOptions
- The small multiples setup for the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smallMultiplesOptions
default PieChartConfiguration.Builder smallMultiplesOptions(Consumer<SmallMultiplesOptions.Builder> smallMultiplesOptions)
The small multiples setup for the visual.
This is a convenience method that creates an instance of theSmallMultiplesOptions.Builder
avoiding the need to create one manually viaSmallMultiplesOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosmallMultiplesOptions(SmallMultiplesOptions)
.- Parameters:
smallMultiplesOptions
- a consumer that will call methods onSmallMultiplesOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
smallMultiplesOptions(SmallMultiplesOptions)
-
categoryLabelOptions
PieChartConfiguration.Builder categoryLabelOptions(ChartAxisLabelOptions categoryLabelOptions)
The label options of the group/color that is displayed in a pie chart.
- Parameters:
categoryLabelOptions
- The label options of the group/color that is displayed in a pie chart.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categoryLabelOptions
default PieChartConfiguration.Builder categoryLabelOptions(Consumer<ChartAxisLabelOptions.Builder> categoryLabelOptions)
The label options of the group/color that is displayed in a pie chart.
This is a convenience method that creates an instance of theChartAxisLabelOptions.Builder
avoiding the need to create one manually viaChartAxisLabelOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocategoryLabelOptions(ChartAxisLabelOptions)
.- Parameters:
categoryLabelOptions
- a consumer that will call methods onChartAxisLabelOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
categoryLabelOptions(ChartAxisLabelOptions)
-
valueLabelOptions
PieChartConfiguration.Builder valueLabelOptions(ChartAxisLabelOptions valueLabelOptions)
The label options for the value that is displayed in a pie chart.
- Parameters:
valueLabelOptions
- The label options for the value that is displayed in a pie chart.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueLabelOptions
default PieChartConfiguration.Builder valueLabelOptions(Consumer<ChartAxisLabelOptions.Builder> valueLabelOptions)
The label options for the value that is displayed in a pie chart.
This is a convenience method that creates an instance of theChartAxisLabelOptions.Builder
avoiding the need to create one manually viaChartAxisLabelOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalueLabelOptions(ChartAxisLabelOptions)
.- Parameters:
valueLabelOptions
- a consumer that will call methods onChartAxisLabelOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
valueLabelOptions(ChartAxisLabelOptions)
-
legend
PieChartConfiguration.Builder legend(LegendOptions legend)
The legend display setup of the visual.
- Parameters:
legend
- The legend display setup of the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
legend
default PieChartConfiguration.Builder legend(Consumer<LegendOptions.Builder> legend)
The legend display setup of the visual.
This is a convenience method that creates an instance of theLegendOptions.Builder
avoiding the need to create one manually viaLegendOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolegend(LegendOptions)
.- Parameters:
legend
- a consumer that will call methods onLegendOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
legend(LegendOptions)
-
dataLabels
PieChartConfiguration.Builder dataLabels(DataLabelOptions dataLabels)
The options that determine if visual data labels are displayed.
- Parameters:
dataLabels
- The options that determine if visual data labels are displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataLabels
default PieChartConfiguration.Builder dataLabels(Consumer<DataLabelOptions.Builder> dataLabels)
The options that determine if visual data labels are displayed.
This is a convenience method that creates an instance of theDataLabelOptions.Builder
avoiding the need to create one manually viaDataLabelOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataLabels(DataLabelOptions)
.- Parameters:
dataLabels
- a consumer that will call methods onDataLabelOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataLabels(DataLabelOptions)
-
tooltip
PieChartConfiguration.Builder tooltip(TooltipOptions tooltip)
The tooltip display setup of the visual.
- Parameters:
tooltip
- The tooltip display setup of the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tooltip
default PieChartConfiguration.Builder tooltip(Consumer<TooltipOptions.Builder> tooltip)
The tooltip display setup of the visual.
This is a convenience method that creates an instance of theTooltipOptions.Builder
avoiding the need to create one manually viaTooltipOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totooltip(TooltipOptions)
.- Parameters:
tooltip
- a consumer that will call methods onTooltipOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tooltip(TooltipOptions)
-
visualPalette
PieChartConfiguration.Builder visualPalette(VisualPalette visualPalette)
The palette (chart color) display setup of the visual.
- Parameters:
visualPalette
- The palette (chart color) display setup of the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
visualPalette
default PieChartConfiguration.Builder visualPalette(Consumer<VisualPalette.Builder> visualPalette)
The palette (chart color) display setup of the visual.
This is a convenience method that creates an instance of theVisualPalette.Builder
avoiding the need to create one manually viaVisualPalette.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovisualPalette(VisualPalette)
.- Parameters:
visualPalette
- a consumer that will call methods onVisualPalette.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
visualPalette(VisualPalette)
-
contributionAnalysisDefaults
PieChartConfiguration.Builder contributionAnalysisDefaults(Collection<ContributionAnalysisDefault> contributionAnalysisDefaults)
The contribution analysis (anomaly configuration) setup of the visual.
- Parameters:
contributionAnalysisDefaults
- The contribution analysis (anomaly configuration) setup of the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributionAnalysisDefaults
PieChartConfiguration.Builder contributionAnalysisDefaults(ContributionAnalysisDefault... contributionAnalysisDefaults)
The contribution analysis (anomaly configuration) setup of the visual.
- Parameters:
contributionAnalysisDefaults
- The contribution analysis (anomaly configuration) setup of the visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contributionAnalysisDefaults
PieChartConfiguration.Builder contributionAnalysisDefaults(Consumer<ContributionAnalysisDefault.Builder>... contributionAnalysisDefaults)
The contribution analysis (anomaly configuration) setup of the visual.
This is a convenience method that creates an instance of theContributionAnalysisDefault.Builder
avoiding the need to create one manually viaContributionAnalysisDefault.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#contributionAnalysisDefaults(List
.) - Parameters:
contributionAnalysisDefaults
- a consumer that will call methods onContributionAnalysisDefault.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#contributionAnalysisDefaults(java.util.Collection
)
-
interactions
PieChartConfiguration.Builder interactions(VisualInteractionOptions interactions)
The general visual interactions setup for a visual.
- Parameters:
interactions
- The general visual interactions setup for a visual.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interactions
default PieChartConfiguration.Builder interactions(Consumer<VisualInteractionOptions.Builder> interactions)
The general visual interactions setup for a visual.
This is a convenience method that creates an instance of theVisualInteractionOptions.Builder
avoiding the need to create one manually viaVisualInteractionOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointeractions(VisualInteractionOptions)
.- Parameters:
interactions
- a consumer that will call methods onVisualInteractionOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
interactions(VisualInteractionOptions)
-
-