Class CfnTemplate.TreeMapConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.TreeMapConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.TreeMapConfigurationProperty>
- Enclosing interface:
CfnTemplate.TreeMapConfigurationProperty
@Stability(Stable)
public static final class CfnTemplate.TreeMapConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.TreeMapConfigurationProperty>
A builder for
CfnTemplate.TreeMapConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.colorLabelOptions
(IResolvable colorLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getColorLabelOptions()
colorLabelOptions
(CfnTemplate.ChartAxisLabelOptionsProperty colorLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getColorLabelOptions()
colorScale
(IResolvable colorScale) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getColorScale()
colorScale
(CfnTemplate.ColorScaleProperty colorScale) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getColorScale()
dataLabels
(IResolvable dataLabels) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getDataLabels()
dataLabels
(CfnTemplate.DataLabelOptionsProperty dataLabels) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getDataLabels()
fieldWells
(IResolvable fieldWells) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getFieldWells()
fieldWells
(CfnTemplate.TreeMapFieldWellsProperty fieldWells) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getFieldWells()
groupLabelOptions
(IResolvable groupLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getGroupLabelOptions()
groupLabelOptions
(CfnTemplate.ChartAxisLabelOptionsProperty groupLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getGroupLabelOptions()
legend
(IResolvable legend) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getLegend()
Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getLegend()
sizeLabelOptions
(IResolvable sizeLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getSizeLabelOptions()
sizeLabelOptions
(CfnTemplate.ChartAxisLabelOptionsProperty sizeLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getSizeLabelOptions()
sortConfiguration
(IResolvable sortConfiguration) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getSortConfiguration()
sortConfiguration
(CfnTemplate.TreeMapSortConfigurationProperty sortConfiguration) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getSortConfiguration()
tooltip
(IResolvable tooltip) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getTooltip()
Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getTooltip()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
colorLabelOptions
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder colorLabelOptions(IResolvable colorLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getColorLabelOptions()
- Parameters:
colorLabelOptions
- The label options (label text, label visibility) for the colors displayed in a tree map.- Returns:
this
-
colorLabelOptions
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder colorLabelOptions(CfnTemplate.ChartAxisLabelOptionsProperty colorLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getColorLabelOptions()
- Parameters:
colorLabelOptions
- The label options (label text, label visibility) for the colors displayed in a tree map.- Returns:
this
-
colorScale
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder colorScale(IResolvable colorScale) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getColorScale()
- Parameters:
colorScale
- The color options (gradient color, point of divergence) of a tree map.- Returns:
this
-
colorScale
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder colorScale(CfnTemplate.ColorScaleProperty colorScale) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getColorScale()
- Parameters:
colorScale
- The color options (gradient color, point of divergence) of a tree map.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder dataLabels(IResolvable dataLabels) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getDataLabels()
- Parameters:
dataLabels
- The options that determine if visual data labels are displayed.- Returns:
this
-
dataLabels
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder dataLabels(CfnTemplate.DataLabelOptionsProperty dataLabels) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getDataLabels()
- Parameters:
dataLabels
- The options that determine if visual data labels are displayed.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder fieldWells(IResolvable fieldWells) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field wells of the visual.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder fieldWells(CfnTemplate.TreeMapFieldWellsProperty fieldWells) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field wells of the visual.- Returns:
this
-
groupLabelOptions
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder groupLabelOptions(IResolvable groupLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getGroupLabelOptions()
- Parameters:
groupLabelOptions
- The label options (label text, label visibility) of the groups that are displayed in a tree map.- Returns:
this
-
groupLabelOptions
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder groupLabelOptions(CfnTemplate.ChartAxisLabelOptionsProperty groupLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getGroupLabelOptions()
- Parameters:
groupLabelOptions
- The label options (label text, label visibility) of the groups that are displayed in a tree map.- Returns:
this
-
legend
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder legend(IResolvable legend) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getLegend()
- Parameters:
legend
- The legend display setup of the visual.- Returns:
this
-
legend
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder legend(CfnTemplate.LegendOptionsProperty legend) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getLegend()
- Parameters:
legend
- The legend display setup of the visual.- Returns:
this
-
sizeLabelOptions
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder sizeLabelOptions(IResolvable sizeLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getSizeLabelOptions()
- Parameters:
sizeLabelOptions
- The label options (label text, label visibility) of the sizes that are displayed in a tree map.- Returns:
this
-
sizeLabelOptions
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder sizeLabelOptions(CfnTemplate.ChartAxisLabelOptionsProperty sizeLabelOptions) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getSizeLabelOptions()
- Parameters:
sizeLabelOptions
- The label options (label text, label visibility) of the sizes that are displayed in a tree map.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder sortConfiguration(IResolvable sortConfiguration) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getSortConfiguration()
- Parameters:
sortConfiguration
- The sort configuration of a tree map.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder sortConfiguration(CfnTemplate.TreeMapSortConfigurationProperty sortConfiguration) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getSortConfiguration()
- Parameters:
sortConfiguration
- The sort configuration of a tree map.- Returns:
this
-
tooltip
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder tooltip(IResolvable tooltip) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.getTooltip()
- Parameters:
tooltip
- The tooltip display setup of the visual.- Returns:
this
-
tooltip
@Stability(Stable) public CfnTemplate.TreeMapConfigurationProperty.Builder tooltip(CfnTemplate.TooltipOptionsProperty tooltip) Sets the value ofCfnTemplate.TreeMapConfigurationProperty.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.TreeMapConfigurationProperty>
- Returns:
- a new instance of
CfnTemplate.TreeMapConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-