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