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