Class CfnAnalysis.BarChartConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.BarChartConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.BarChartConfigurationProperty>
- Enclosing interface:
CfnAnalysis.BarChartConfigurationProperty
@Stability(Stable)
public static final class CfnAnalysis.BarChartConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.BarChartConfigurationProperty>
A builder for
CfnAnalysis.BarChartConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbarsArrangement
(String barsArrangement) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getBarsArrangement()
build()
Builds the configured instance.categoryAxis
(IResolvable categoryAxis) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getCategoryAxis()
categoryAxis
(CfnAnalysis.AxisDisplayOptionsProperty categoryAxis) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getCategoryAxis()
categoryLabelOptions
(IResolvable categoryLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getCategoryLabelOptions()
categoryLabelOptions
(CfnAnalysis.ChartAxisLabelOptionsProperty categoryLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getCategoryLabelOptions()
colorLabelOptions
(IResolvable colorLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getColorLabelOptions()
colorLabelOptions
(CfnAnalysis.ChartAxisLabelOptionsProperty colorLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getColorLabelOptions()
contributionAnalysisDefaults
(List<? extends Object> contributionAnalysisDefaults) contributionAnalysisDefaults
(IResolvable contributionAnalysisDefaults) dataLabels
(IResolvable dataLabels) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getDataLabels()
dataLabels
(CfnAnalysis.DataLabelOptionsProperty dataLabels) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getDataLabels()
fieldWells
(IResolvable fieldWells) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getFieldWells()
fieldWells
(CfnAnalysis.BarChartFieldWellsProperty fieldWells) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getFieldWells()
legend
(IResolvable legend) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getLegend()
Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getLegend()
orientation
(String orientation) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getOrientation()
referenceLines
(List<? extends Object> referenceLines) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getReferenceLines()
referenceLines
(IResolvable referenceLines) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getReferenceLines()
smallMultiplesOptions
(IResolvable smallMultiplesOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getSmallMultiplesOptions()
smallMultiplesOptions
(CfnAnalysis.SmallMultiplesOptionsProperty smallMultiplesOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getSmallMultiplesOptions()
sortConfiguration
(IResolvable sortConfiguration) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getSortConfiguration()
sortConfiguration
(CfnAnalysis.BarChartSortConfigurationProperty sortConfiguration) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getSortConfiguration()
tooltip
(IResolvable tooltip) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getTooltip()
Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getTooltip()
valueAxis
(IResolvable valueAxis) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getValueAxis()
valueAxis
(CfnAnalysis.AxisDisplayOptionsProperty valueAxis) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getValueAxis()
valueLabelOptions
(IResolvable valueLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getValueLabelOptions()
valueLabelOptions
(CfnAnalysis.ChartAxisLabelOptionsProperty valueLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getValueLabelOptions()
visualPalette
(IResolvable visualPalette) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getVisualPalette()
visualPalette
(CfnAnalysis.VisualPaletteProperty visualPalette) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getVisualPalette()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
barsArrangement
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder barsArrangement(String barsArrangement) Sets the value ofCfnAnalysis.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 CfnAnalysis.BarChartConfigurationProperty.Builder categoryAxis(IResolvable categoryAxis) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getCategoryAxis()
- Parameters:
categoryAxis
- The label display options (grid line, range, scale, axis step) for bar chart category.- Returns:
this
-
categoryAxis
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder categoryAxis(CfnAnalysis.AxisDisplayOptionsProperty categoryAxis) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getCategoryAxis()
- Parameters:
categoryAxis
- The label display options (grid line, range, scale, axis step) for bar chart category.- Returns:
this
-
categoryLabelOptions
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder categoryLabelOptions(IResolvable categoryLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getCategoryLabelOptions()
- Parameters:
categoryLabelOptions
- The label options (label text, label visibility and sort icon visibility) for a bar chart.- Returns:
this
-
categoryLabelOptions
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder categoryLabelOptions(CfnAnalysis.ChartAxisLabelOptionsProperty categoryLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getCategoryLabelOptions()
- Parameters:
categoryLabelOptions
- The label options (label text, label visibility and sort icon visibility) for a bar chart.- Returns:
this
-
colorLabelOptions
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder colorLabelOptions(IResolvable colorLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getColorLabelOptions()
- 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 CfnAnalysis.BarChartConfigurationProperty.Builder colorLabelOptions(CfnAnalysis.ChartAxisLabelOptionsProperty colorLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getColorLabelOptions()
- 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 CfnAnalysis.BarChartConfigurationProperty.Builder contributionAnalysisDefaults(IResolvable contributionAnalysisDefaults) - Parameters:
contributionAnalysisDefaults
- The contribution analysis (anomaly configuration) setup of the visual.- Returns:
this
-
contributionAnalysisDefaults
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder contributionAnalysisDefaults(List<? extends Object> contributionAnalysisDefaults) - Parameters:
contributionAnalysisDefaults
- The contribution analysis (anomaly configuration) setup of the visual.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder dataLabels(IResolvable dataLabels) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getDataLabels()
- Parameters:
dataLabels
- The options that determine if visual data labels are displayed.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder dataLabels(CfnAnalysis.DataLabelOptionsProperty dataLabels) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getDataLabels()
- Parameters:
dataLabels
- The options that determine if visual data labels are displayed.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder fieldWells(IResolvable fieldWells) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field wells of the visual.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder fieldWells(CfnAnalysis.BarChartFieldWellsProperty fieldWells) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field wells of the visual.- Returns:
this
-
legend
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder legend(IResolvable legend) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getLegend()
- Parameters:
legend
- The legend display setup of the visual.- Returns:
this
-
legend
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder legend(CfnAnalysis.LegendOptionsProperty legend) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getLegend()
- Parameters:
legend
- The legend display setup of the visual.- Returns:
this
-
orientation
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder orientation(String orientation) Sets the value ofCfnAnalysis.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 CfnAnalysis.BarChartConfigurationProperty.Builder referenceLines(IResolvable referenceLines) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getReferenceLines()
- Parameters:
referenceLines
- The reference line setup of the visual.- Returns:
this
-
referenceLines
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder referenceLines(List<? extends Object> referenceLines) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getReferenceLines()
- Parameters:
referenceLines
- The reference line setup of the visual.- Returns:
this
-
smallMultiplesOptions
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder smallMultiplesOptions(IResolvable smallMultiplesOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getSmallMultiplesOptions()
- Parameters:
smallMultiplesOptions
- The small multiples setup for the visual.- Returns:
this
-
smallMultiplesOptions
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder smallMultiplesOptions(CfnAnalysis.SmallMultiplesOptionsProperty smallMultiplesOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getSmallMultiplesOptions()
- Parameters:
smallMultiplesOptions
- The small multiples setup for the visual.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder sortConfiguration(IResolvable sortConfiguration) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getSortConfiguration()
- Parameters:
sortConfiguration
- The sort configuration of aBarChartVisual
.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder sortConfiguration(CfnAnalysis.BarChartSortConfigurationProperty sortConfiguration) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getSortConfiguration()
- Parameters:
sortConfiguration
- The sort configuration of aBarChartVisual
.- Returns:
this
-
tooltip
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder tooltip(IResolvable tooltip) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getTooltip()
- Parameters:
tooltip
- The tooltip display setup of the visual.- Returns:
this
-
tooltip
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder tooltip(CfnAnalysis.TooltipOptionsProperty tooltip) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getTooltip()
- Parameters:
tooltip
- The tooltip display setup of the visual.- Returns:
this
-
valueAxis
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder valueAxis(IResolvable valueAxis) Sets the value ofCfnAnalysis.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 CfnAnalysis.BarChartConfigurationProperty.Builder valueAxis(CfnAnalysis.AxisDisplayOptionsProperty valueAxis) Sets the value ofCfnAnalysis.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 CfnAnalysis.BarChartConfigurationProperty.Builder valueLabelOptions(IResolvable valueLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getValueLabelOptions()
- Parameters:
valueLabelOptions
- The label options (label text, label visibility and sort icon visibility) for a bar chart value.- Returns:
this
-
valueLabelOptions
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder valueLabelOptions(CfnAnalysis.ChartAxisLabelOptionsProperty valueLabelOptions) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getValueLabelOptions()
- Parameters:
valueLabelOptions
- The label options (label text, label visibility and sort icon visibility) for a bar chart value.- Returns:
this
-
visualPalette
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder visualPalette(IResolvable visualPalette) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.getVisualPalette()
- Parameters:
visualPalette
- The palette (chart color) display setup of the visual.- Returns:
this
-
visualPalette
@Stability(Stable) public CfnAnalysis.BarChartConfigurationProperty.Builder visualPalette(CfnAnalysis.VisualPaletteProperty visualPalette) Sets the value ofCfnAnalysis.BarChartConfigurationProperty.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<CfnAnalysis.BarChartConfigurationProperty>
- Returns:
- a new instance of
CfnAnalysis.BarChartConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-