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