Interface PieChartConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PieChartConfiguration.Builder,
,PieChartConfiguration> SdkBuilder<PieChartConfiguration.Builder,
,PieChartConfiguration> SdkPojo
- Enclosing class:
PieChartConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault PieChartConfiguration.Builder
categoryLabelOptions
(Consumer<ChartAxisLabelOptions.Builder> categoryLabelOptions) The label options of the group/color that is displayed in a pie chart.categoryLabelOptions
(ChartAxisLabelOptions categoryLabelOptions) The label options of the group/color that is displayed in a pie chart.contributionAnalysisDefaults
(Collection<ContributionAnalysisDefault> contributionAnalysisDefaults) The contribution analysis (anomaly configuration) setup of the visual.contributionAnalysisDefaults
(Consumer<ContributionAnalysisDefault.Builder>... contributionAnalysisDefaults) The contribution analysis (anomaly configuration) setup of the visual.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.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.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.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.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.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.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.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.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.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.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 Details
-
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
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:
-
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:
-
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
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:
-
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:
-
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:
-
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:
-
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
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:
-
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
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:
-
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
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:
-
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
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:
-
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 tocontributionAnalysisDefaults(List<ContributionAnalysisDefault>)
.- 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:
-
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:
-