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