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