Class CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysisPropsMixin.BarChartConfigurationProperty>
- Enclosing interface:
CfnAnalysisPropsMixin.BarChartConfigurationProperty
@Stability(Stable)
public static final class CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysisPropsMixin.BarChartConfigurationProperty>
A builder for
CfnAnalysisPropsMixin.BarChartConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbarsArrangement(String barsArrangement) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getBarsArrangement()build()Builds the configured instance.categoryAxis(CfnAnalysisPropsMixin.AxisDisplayOptionsProperty categoryAxis) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getCategoryAxis()categoryAxis(IResolvable categoryAxis) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getCategoryAxis()categoryLabelOptions(CfnAnalysisPropsMixin.ChartAxisLabelOptionsProperty categoryLabelOptions) categoryLabelOptions(IResolvable categoryLabelOptions) colorLabelOptions(CfnAnalysisPropsMixin.ChartAxisLabelOptionsProperty colorLabelOptions) colorLabelOptions(IResolvable colorLabelOptions) contributionAnalysisDefaults(List<? extends Object> contributionAnalysisDefaults) contributionAnalysisDefaults(IResolvable contributionAnalysisDefaults) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getDataLabels()dataLabels(IResolvable dataLabels) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getDataLabels()Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getFieldWells()fieldWells(IResolvable fieldWells) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getFieldWells()Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getInteractions()interactions(IResolvable interactions) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getInteractions()Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getLegend()legend(IResolvable legend) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getLegend()orientation(String orientation) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getOrientation()referenceLines(List<? extends Object> referenceLines) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getReferenceLines()referenceLines(IResolvable referenceLines) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getReferenceLines()smallMultiplesOptions(CfnAnalysisPropsMixin.SmallMultiplesOptionsProperty smallMultiplesOptions) smallMultiplesOptions(IResolvable smallMultiplesOptions) sortConfiguration(CfnAnalysisPropsMixin.BarChartSortConfigurationProperty sortConfiguration) sortConfiguration(IResolvable sortConfiguration) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getTooltip()tooltip(IResolvable tooltip) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getTooltip()Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getValueAxis()valueAxis(IResolvable valueAxis) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getValueAxis()valueLabelOptions(CfnAnalysisPropsMixin.ChartAxisLabelOptionsProperty valueLabelOptions) valueLabelOptions(IResolvable valueLabelOptions) visualPalette(CfnAnalysisPropsMixin.VisualPaletteProperty visualPalette) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getVisualPalette()visualPalette(IResolvable visualPalette) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getVisualPalette()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
barsArrangement
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder barsArrangement(String barsArrangement) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getBarsArrangement()- Parameters:
barsArrangement- Determines the arrangement of the bars. The orientation and arrangement of bars determine the type of bar that is used in the visual.- Returns:
this
-
categoryAxis
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder categoryAxis(IResolvable categoryAxis) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getCategoryAxis()- Parameters:
categoryAxis- The label display options (grid line, range, scale, axis step) for bar chart category.- Returns:
this
-
categoryAxis
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder categoryAxis(CfnAnalysisPropsMixin.AxisDisplayOptionsProperty categoryAxis) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getCategoryAxis()- Parameters:
categoryAxis- The label display options (grid line, range, scale, axis step) for bar chart category.- Returns:
this
-
categoryLabelOptions
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder categoryLabelOptions(IResolvable categoryLabelOptions) - Parameters:
categoryLabelOptions- The label options (label text, label visibility and sort icon visibility) for a bar chart.- Returns:
this
-
categoryLabelOptions
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder categoryLabelOptions(CfnAnalysisPropsMixin.ChartAxisLabelOptionsProperty categoryLabelOptions) - Parameters:
categoryLabelOptions- The label options (label text, label visibility and sort icon visibility) for a bar chart.- Returns:
this
-
colorLabelOptions
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder colorLabelOptions(IResolvable colorLabelOptions) - Parameters:
colorLabelOptions- The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar chart.- Returns:
this
-
colorLabelOptions
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder colorLabelOptions(CfnAnalysisPropsMixin.ChartAxisLabelOptionsProperty colorLabelOptions) - Parameters:
colorLabelOptions- The label options (label text, label visibility and sort icon visibility) for a color that is used in a bar chart.- Returns:
this
-
contributionAnalysisDefaults
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder contributionAnalysisDefaults(IResolvable contributionAnalysisDefaults) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getContributionAnalysisDefaults()- Parameters:
contributionAnalysisDefaults- The contribution analysis (anomaly configuration) setup of the visual.- Returns:
this
-
contributionAnalysisDefaults
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder contributionAnalysisDefaults(List<? extends Object> contributionAnalysisDefaults) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getContributionAnalysisDefaults()- Parameters:
contributionAnalysisDefaults- The contribution analysis (anomaly configuration) setup of the visual.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder dataLabels(IResolvable dataLabels) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getDataLabels()- Parameters:
dataLabels- The options that determine if visual data labels are displayed.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder dataLabels(CfnAnalysisPropsMixin.DataLabelOptionsProperty dataLabels) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getDataLabels()- Parameters:
dataLabels- The options that determine if visual data labels are displayed.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder fieldWells(IResolvable fieldWells) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getFieldWells()- Parameters:
fieldWells- The field wells of the visual.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder fieldWells(CfnAnalysisPropsMixin.BarChartFieldWellsProperty fieldWells) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getFieldWells()- Parameters:
fieldWells- The field wells of the visual.- Returns:
this
-
interactions
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder interactions(IResolvable interactions) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getInteractions()- Parameters:
interactions- The general visual interactions setup for a visual.- Returns:
this
-
interactions
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder interactions(CfnAnalysisPropsMixin.VisualInteractionOptionsProperty interactions) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getInteractions()- Parameters:
interactions- The general visual interactions setup for a visual.- Returns:
this
-
legend
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder legend(IResolvable legend) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getLegend()- Parameters:
legend- The legend display setup of the visual.- Returns:
this
-
legend
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder legend(CfnAnalysisPropsMixin.LegendOptionsProperty legend) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getLegend()- Parameters:
legend- The legend display setup of the visual.- Returns:
this
-
orientation
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder orientation(String orientation) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getOrientation()- Parameters:
orientation- The orientation of the bars in a bar chart visual. There are two valid values in this structure:.HORIZONTAL: Used for charts that have horizontal bars. Visuals that use this value are horizontal bar charts, horizontal stacked bar charts, and horizontal stacked 100% bar charts.VERTICAL: Used for charts that have vertical bars. Visuals that use this value are vertical bar charts, vertical stacked bar charts, and vertical stacked 100% bar charts.
- Returns:
this
-
referenceLines
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder referenceLines(IResolvable referenceLines) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getReferenceLines()- Parameters:
referenceLines- The reference line setup of the visual.- Returns:
this
-
referenceLines
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder referenceLines(List<? extends Object> referenceLines) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getReferenceLines()- Parameters:
referenceLines- The reference line setup of the visual.- Returns:
this
-
smallMultiplesOptions
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder smallMultiplesOptions(IResolvable smallMultiplesOptions) - Parameters:
smallMultiplesOptions- The small multiples setup for the visual.- Returns:
this
-
smallMultiplesOptions
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder smallMultiplesOptions(CfnAnalysisPropsMixin.SmallMultiplesOptionsProperty smallMultiplesOptions) - Parameters:
smallMultiplesOptions- The small multiples setup for the visual.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder sortConfiguration(IResolvable sortConfiguration) - Parameters:
sortConfiguration- The sort configuration of aBarChartVisual.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder sortConfiguration(CfnAnalysisPropsMixin.BarChartSortConfigurationProperty sortConfiguration) - Parameters:
sortConfiguration- The sort configuration of aBarChartVisual.- Returns:
this
-
tooltip
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder tooltip(IResolvable tooltip) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getTooltip()- Parameters:
tooltip- The tooltip display setup of the visual.- Returns:
this
-
tooltip
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder tooltip(CfnAnalysisPropsMixin.TooltipOptionsProperty tooltip) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getTooltip()- Parameters:
tooltip- The tooltip display setup of the visual.- Returns:
this
-
valueAxis
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder valueAxis(IResolvable valueAxis) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getValueAxis()- Parameters:
valueAxis- The label display options (grid line, range, scale, axis step) for a bar chart value.- Returns:
this
-
valueAxis
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder valueAxis(CfnAnalysisPropsMixin.AxisDisplayOptionsProperty valueAxis) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getValueAxis()- Parameters:
valueAxis- The label display options (grid line, range, scale, axis step) for a bar chart value.- Returns:
this
-
valueLabelOptions
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder valueLabelOptions(IResolvable valueLabelOptions) - Parameters:
valueLabelOptions- The label options (label text, label visibility and sort icon visibility) for a bar chart value.- Returns:
this
-
valueLabelOptions
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder valueLabelOptions(CfnAnalysisPropsMixin.ChartAxisLabelOptionsProperty valueLabelOptions) - Parameters:
valueLabelOptions- The label options (label text, label visibility and sort icon visibility) for a bar chart value.- Returns:
this
-
visualPalette
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder visualPalette(IResolvable visualPalette) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.getVisualPalette()- Parameters:
visualPalette- The palette (chart color) display setup of the visual.- Returns:
this
-
visualPalette
@Stability(Stable) public CfnAnalysisPropsMixin.BarChartConfigurationProperty.Builder visualPalette(CfnAnalysisPropsMixin.VisualPaletteProperty visualPalette) Sets the value ofCfnAnalysisPropsMixin.BarChartConfigurationProperty.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.BarChartConfigurationProperty>- Returns:
- a new instance of
CfnAnalysisPropsMixin.BarChartConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-