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