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