Class CfnAnalysis.PieChartConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.PieChartConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.PieChartConfigurationProperty>
- Enclosing interface:
CfnAnalysis.PieChartConfigurationProperty
@Stability(Stable)
public static final class CfnAnalysis.PieChartConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.PieChartConfigurationProperty>
A builder for
CfnAnalysis.PieChartConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.categoryLabelOptions
(IResolvable categoryLabelOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getCategoryLabelOptions()
categoryLabelOptions
(CfnAnalysis.ChartAxisLabelOptionsProperty categoryLabelOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getCategoryLabelOptions()
contributionAnalysisDefaults
(List<? extends Object> contributionAnalysisDefaults) contributionAnalysisDefaults
(IResolvable contributionAnalysisDefaults) dataLabels
(IResolvable dataLabels) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getDataLabels()
dataLabels
(CfnAnalysis.DataLabelOptionsProperty dataLabels) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getDataLabels()
donutOptions
(IResolvable donutOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getDonutOptions()
donutOptions
(CfnAnalysis.DonutOptionsProperty donutOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getDonutOptions()
fieldWells
(IResolvable fieldWells) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getFieldWells()
fieldWells
(CfnAnalysis.PieChartFieldWellsProperty fieldWells) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getFieldWells()
legend
(IResolvable legend) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getLegend()
Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getLegend()
smallMultiplesOptions
(IResolvable smallMultiplesOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getSmallMultiplesOptions()
smallMultiplesOptions
(CfnAnalysis.SmallMultiplesOptionsProperty smallMultiplesOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getSmallMultiplesOptions()
sortConfiguration
(IResolvable sortConfiguration) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getSortConfiguration()
sortConfiguration
(CfnAnalysis.PieChartSortConfigurationProperty sortConfiguration) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getSortConfiguration()
tooltip
(IResolvable tooltip) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getTooltip()
Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getTooltip()
valueLabelOptions
(IResolvable valueLabelOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getValueLabelOptions()
valueLabelOptions
(CfnAnalysis.ChartAxisLabelOptionsProperty valueLabelOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getValueLabelOptions()
visualPalette
(IResolvable visualPalette) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getVisualPalette()
visualPalette
(CfnAnalysis.VisualPaletteProperty visualPalette) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getVisualPalette()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
categoryLabelOptions
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder categoryLabelOptions(IResolvable categoryLabelOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getCategoryLabelOptions()
- Parameters:
categoryLabelOptions
- The label options of the group/color that is displayed in a pie chart.- Returns:
this
-
categoryLabelOptions
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder categoryLabelOptions(CfnAnalysis.ChartAxisLabelOptionsProperty categoryLabelOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getCategoryLabelOptions()
- Parameters:
categoryLabelOptions
- The label options of the group/color that is displayed in a pie chart.- Returns:
this
-
contributionAnalysisDefaults
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder contributionAnalysisDefaults(IResolvable contributionAnalysisDefaults) - Parameters:
contributionAnalysisDefaults
- The contribution analysis (anomaly configuration) setup of the visual.- Returns:
this
-
contributionAnalysisDefaults
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder contributionAnalysisDefaults(List<? extends Object> contributionAnalysisDefaults) - Parameters:
contributionAnalysisDefaults
- The contribution analysis (anomaly configuration) setup of the visual.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder dataLabels(IResolvable dataLabels) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getDataLabels()
- Parameters:
dataLabels
- The options that determine if visual data labels are displayed.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder dataLabels(CfnAnalysis.DataLabelOptionsProperty dataLabels) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getDataLabels()
- Parameters:
dataLabels
- The options that determine if visual data labels are displayed.- Returns:
this
-
donutOptions
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder donutOptions(IResolvable donutOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getDonutOptions()
- 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:
this
-
donutOptions
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder donutOptions(CfnAnalysis.DonutOptionsProperty donutOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getDonutOptions()
- 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:
this
-
fieldWells
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder fieldWells(IResolvable fieldWells) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field wells of the visual.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder fieldWells(CfnAnalysis.PieChartFieldWellsProperty fieldWells) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field wells of the visual.- Returns:
this
-
legend
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder legend(IResolvable legend) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getLegend()
- Parameters:
legend
- The legend display setup of the visual.- Returns:
this
-
legend
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder legend(CfnAnalysis.LegendOptionsProperty legend) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getLegend()
- Parameters:
legend
- The legend display setup of the visual.- Returns:
this
-
smallMultiplesOptions
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder smallMultiplesOptions(IResolvable smallMultiplesOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getSmallMultiplesOptions()
- Parameters:
smallMultiplesOptions
- The small multiples setup for the visual.- Returns:
this
-
smallMultiplesOptions
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder smallMultiplesOptions(CfnAnalysis.SmallMultiplesOptionsProperty smallMultiplesOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getSmallMultiplesOptions()
- Parameters:
smallMultiplesOptions
- The small multiples setup for the visual.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder sortConfiguration(IResolvable sortConfiguration) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getSortConfiguration()
- Parameters:
sortConfiguration
- The sort configuration of a pie chart.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder sortConfiguration(CfnAnalysis.PieChartSortConfigurationProperty sortConfiguration) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getSortConfiguration()
- Parameters:
sortConfiguration
- The sort configuration of a pie chart.- Returns:
this
-
tooltip
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder tooltip(IResolvable tooltip) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getTooltip()
- Parameters:
tooltip
- The tooltip display setup of the visual.- Returns:
this
-
tooltip
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder tooltip(CfnAnalysis.TooltipOptionsProperty tooltip) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getTooltip()
- Parameters:
tooltip
- The tooltip display setup of the visual.- Returns:
this
-
valueLabelOptions
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder valueLabelOptions(IResolvable valueLabelOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getValueLabelOptions()
- Parameters:
valueLabelOptions
- The label options for the value that is displayed in a pie chart.- Returns:
this
-
valueLabelOptions
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder valueLabelOptions(CfnAnalysis.ChartAxisLabelOptionsProperty valueLabelOptions) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getValueLabelOptions()
- Parameters:
valueLabelOptions
- The label options for the value that is displayed in a pie chart.- Returns:
this
-
visualPalette
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder visualPalette(IResolvable visualPalette) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getVisualPalette()
- Parameters:
visualPalette
- The palette (chart color) display setup of the visual.- Returns:
this
-
visualPalette
@Stability(Stable) public CfnAnalysis.PieChartConfigurationProperty.Builder visualPalette(CfnAnalysis.VisualPaletteProperty visualPalette) Sets the value ofCfnAnalysis.PieChartConfigurationProperty.getVisualPalette()
- Parameters:
visualPalette
- The palette (chart color) display setup of the visual.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.PieChartConfigurationProperty>
- Returns:
- a new instance of
CfnAnalysis.PieChartConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-