Class CfnTemplate.HeatMapConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.HeatMapConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.HeatMapConfigurationProperty>
- Enclosing interface:
CfnTemplate.HeatMapConfigurationProperty
@Stability(Stable)
public static final class CfnTemplate.HeatMapConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.HeatMapConfigurationProperty>
A builder for
CfnTemplate.HeatMapConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.colorScale
(IResolvable colorScale) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getColorScale()
colorScale
(CfnTemplate.ColorScaleProperty colorScale) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getColorScale()
columnLabelOptions
(IResolvable columnLabelOptions) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getColumnLabelOptions()
columnLabelOptions
(CfnTemplate.ChartAxisLabelOptionsProperty columnLabelOptions) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getColumnLabelOptions()
dataLabels
(IResolvable dataLabels) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getDataLabels()
dataLabels
(CfnTemplate.DataLabelOptionsProperty dataLabels) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getDataLabels()
fieldWells
(IResolvable fieldWells) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getFieldWells()
fieldWells
(CfnTemplate.HeatMapFieldWellsProperty fieldWells) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getFieldWells()
legend
(IResolvable legend) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getLegend()
Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getLegend()
rowLabelOptions
(IResolvable rowLabelOptions) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getRowLabelOptions()
rowLabelOptions
(CfnTemplate.ChartAxisLabelOptionsProperty rowLabelOptions) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getRowLabelOptions()
sortConfiguration
(IResolvable sortConfiguration) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getSortConfiguration()
sortConfiguration
(CfnTemplate.HeatMapSortConfigurationProperty sortConfiguration) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getSortConfiguration()
tooltip
(IResolvable tooltip) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getTooltip()
Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getTooltip()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
colorScale
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder colorScale(IResolvable colorScale) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getColorScale()
- Parameters:
colorScale
- The color options (gradient color, point of divergence) in a heat map.- Returns:
this
-
colorScale
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder colorScale(CfnTemplate.ColorScaleProperty colorScale) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getColorScale()
- Parameters:
colorScale
- The color options (gradient color, point of divergence) in a heat map.- Returns:
this
-
columnLabelOptions
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder columnLabelOptions(IResolvable columnLabelOptions) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getColumnLabelOptions()
- Parameters:
columnLabelOptions
- The label options of the column that is displayed in a heat map.- Returns:
this
-
columnLabelOptions
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder columnLabelOptions(CfnTemplate.ChartAxisLabelOptionsProperty columnLabelOptions) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getColumnLabelOptions()
- Parameters:
columnLabelOptions
- The label options of the column that is displayed in a heat map.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder dataLabels(IResolvable dataLabels) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getDataLabels()
- Parameters:
dataLabels
- The options that determine if visual data labels are displayed.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder dataLabels(CfnTemplate.DataLabelOptionsProperty dataLabels) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getDataLabels()
- Parameters:
dataLabels
- The options that determine if visual data labels are displayed.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder fieldWells(IResolvable fieldWells) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field wells of the visual.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder fieldWells(CfnTemplate.HeatMapFieldWellsProperty fieldWells) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field wells of the visual.- Returns:
this
-
legend
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder legend(IResolvable legend) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getLegend()
- Parameters:
legend
- The legend display setup of the visual.- Returns:
this
-
legend
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder legend(CfnTemplate.LegendOptionsProperty legend) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getLegend()
- Parameters:
legend
- The legend display setup of the visual.- Returns:
this
-
rowLabelOptions
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder rowLabelOptions(IResolvable rowLabelOptions) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getRowLabelOptions()
- Parameters:
rowLabelOptions
- The label options of the row that is displayed in aheat map
.- Returns:
this
-
rowLabelOptions
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder rowLabelOptions(CfnTemplate.ChartAxisLabelOptionsProperty rowLabelOptions) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getRowLabelOptions()
- Parameters:
rowLabelOptions
- The label options of the row that is displayed in aheat map
.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder sortConfiguration(IResolvable sortConfiguration) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getSortConfiguration()
- Parameters:
sortConfiguration
- The sort configuration of a heat map.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder sortConfiguration(CfnTemplate.HeatMapSortConfigurationProperty sortConfiguration) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getSortConfiguration()
- Parameters:
sortConfiguration
- The sort configuration of a heat map.- Returns:
this
-
tooltip
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder tooltip(IResolvable tooltip) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getTooltip()
- Parameters:
tooltip
- The tooltip display setup of the visual.- Returns:
this
-
tooltip
@Stability(Stable) public CfnTemplate.HeatMapConfigurationProperty.Builder tooltip(CfnTemplate.TooltipOptionsProperty tooltip) Sets the value ofCfnTemplate.HeatMapConfigurationProperty.getTooltip()
- Parameters:
tooltip
- The tooltip display setup of the visual.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.HeatMapConfigurationProperty>
- Returns:
- a new instance of
CfnTemplate.HeatMapConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-