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