Class CfnTemplate.HistogramConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.HistogramConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.HistogramConfigurationProperty>
- Enclosing interface:
- CfnTemplate.HistogramConfigurationProperty
@Stability(Stable)
public static final class CfnTemplate.HistogramConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.HistogramConfigurationProperty>
A builder for
CfnTemplate.HistogramConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbinOptions
(IResolvable binOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getBinOptions()
binOptions
(CfnTemplate.HistogramBinOptionsProperty binOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getBinOptions()
build()
Builds the configured instance.dataLabels
(IResolvable dataLabels) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getDataLabels()
dataLabels
(CfnTemplate.DataLabelOptionsProperty dataLabels) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getDataLabels()
fieldWells
(IResolvable fieldWells) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getFieldWells()
fieldWells
(CfnTemplate.HistogramFieldWellsProperty fieldWells) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getFieldWells()
tooltip
(IResolvable tooltip) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getTooltip()
Sets the value ofCfnTemplate.HistogramConfigurationProperty.getTooltip()
visualPalette
(IResolvable visualPalette) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getVisualPalette()
visualPalette
(CfnTemplate.VisualPaletteProperty visualPalette) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getVisualPalette()
xAxisDisplayOptions
(IResolvable xAxisDisplayOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getXAxisDisplayOptions()
xAxisDisplayOptions
(CfnTemplate.AxisDisplayOptionsProperty xAxisDisplayOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getXAxisDisplayOptions()
xAxisLabelOptions
(IResolvable xAxisLabelOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getXAxisLabelOptions()
xAxisLabelOptions
(CfnTemplate.ChartAxisLabelOptionsProperty xAxisLabelOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getXAxisLabelOptions()
yAxisDisplayOptions
(IResolvable yAxisDisplayOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getYAxisDisplayOptions()
yAxisDisplayOptions
(CfnTemplate.AxisDisplayOptionsProperty yAxisDisplayOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getYAxisDisplayOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
binOptions
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder binOptions(IResolvable binOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getBinOptions()
- Parameters:
binOptions
- The options that determine the presentation of histogram bins.- Returns:
this
-
binOptions
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder binOptions(CfnTemplate.HistogramBinOptionsProperty binOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getBinOptions()
- Parameters:
binOptions
- The options that determine the presentation of histogram bins.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder dataLabels(IResolvable dataLabels) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getDataLabels()
- Parameters:
dataLabels
- The data label configuration of a histogram.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder dataLabels(CfnTemplate.DataLabelOptionsProperty dataLabels) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getDataLabels()
- Parameters:
dataLabels
- The data label configuration of a histogram.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder fieldWells(IResolvable fieldWells) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field well configuration of a histogram.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder fieldWells(CfnTemplate.HistogramFieldWellsProperty fieldWells) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field well configuration of a histogram.- Returns:
this
-
tooltip
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder tooltip(IResolvable tooltip) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getTooltip()
- Parameters:
tooltip
- The tooltip configuration of a histogram.- Returns:
this
-
tooltip
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder tooltip(CfnTemplate.TooltipOptionsProperty tooltip) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getTooltip()
- Parameters:
tooltip
- The tooltip configuration of a histogram.- Returns:
this
-
visualPalette
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder visualPalette(IResolvable visualPalette) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getVisualPalette()
- Parameters:
visualPalette
- The visual palette configuration of a histogram.- Returns:
this
-
visualPalette
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder visualPalette(CfnTemplate.VisualPaletteProperty visualPalette) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getVisualPalette()
- Parameters:
visualPalette
- The visual palette configuration of a histogram.- Returns:
this
-
xAxisDisplayOptions
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder xAxisDisplayOptions(IResolvable xAxisDisplayOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getXAxisDisplayOptions()
- Parameters:
xAxisDisplayOptions
- The options that determine the presentation of the x-axis.- Returns:
this
-
xAxisDisplayOptions
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder xAxisDisplayOptions(CfnTemplate.AxisDisplayOptionsProperty xAxisDisplayOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getXAxisDisplayOptions()
- Parameters:
xAxisDisplayOptions
- The options that determine the presentation of the x-axis.- Returns:
this
-
xAxisLabelOptions
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder xAxisLabelOptions(IResolvable xAxisLabelOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getXAxisLabelOptions()
- Parameters:
xAxisLabelOptions
- The options that determine the presentation of the x-axis label.- Returns:
this
-
xAxisLabelOptions
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder xAxisLabelOptions(CfnTemplate.ChartAxisLabelOptionsProperty xAxisLabelOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getXAxisLabelOptions()
- Parameters:
xAxisLabelOptions
- The options that determine the presentation of the x-axis label.- Returns:
this
-
yAxisDisplayOptions
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder yAxisDisplayOptions(IResolvable yAxisDisplayOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getYAxisDisplayOptions()
- Parameters:
yAxisDisplayOptions
- The options that determine the presentation of the y-axis.- Returns:
this
-
yAxisDisplayOptions
@Stability(Stable) public CfnTemplate.HistogramConfigurationProperty.Builder yAxisDisplayOptions(CfnTemplate.AxisDisplayOptionsProperty yAxisDisplayOptions) Sets the value ofCfnTemplate.HistogramConfigurationProperty.getYAxisDisplayOptions()
- Parameters:
yAxisDisplayOptions
- The options that determine the presentation of the y-axis.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.HistogramConfigurationProperty>
- Returns:
- a new instance of
CfnTemplate.HistogramConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-