Class CfnDashboard.TreeMapVisualProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.TreeMapVisualProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.TreeMapVisualProperty>
- Enclosing interface:
CfnDashboard.TreeMapVisualProperty
@Stability(Stable)
public static final class CfnDashboard.TreeMapVisualProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.TreeMapVisualProperty>
A builder for
CfnDashboard.TreeMapVisualProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDashboard.TreeMapVisualProperty.getActions()
actions
(IResolvable actions) Sets the value ofCfnDashboard.TreeMapVisualProperty.getActions()
build()
Builds the configured instance.chartConfiguration
(IResolvable chartConfiguration) Sets the value ofCfnDashboard.TreeMapVisualProperty.getChartConfiguration()
chartConfiguration
(CfnDashboard.TreeMapConfigurationProperty chartConfiguration) Sets the value ofCfnDashboard.TreeMapVisualProperty.getChartConfiguration()
columnHierarchies
(List<? extends Object> columnHierarchies) Sets the value ofCfnDashboard.TreeMapVisualProperty.getColumnHierarchies()
columnHierarchies
(IResolvable columnHierarchies) Sets the value ofCfnDashboard.TreeMapVisualProperty.getColumnHierarchies()
subtitle
(IResolvable subtitle) Sets the value ofCfnDashboard.TreeMapVisualProperty.getSubtitle()
Sets the value ofCfnDashboard.TreeMapVisualProperty.getSubtitle()
title
(IResolvable title) Sets the value ofCfnDashboard.TreeMapVisualProperty.getTitle()
Sets the value ofCfnDashboard.TreeMapVisualProperty.getTitle()
Sets the value ofCfnDashboard.TreeMapVisualProperty.getVisualId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
visualId
Sets the value ofCfnDashboard.TreeMapVisualProperty.getVisualId()
- Parameters:
visualId
- The unique identifier of a visual. This parameter is required. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..- Returns:
this
-
actions
Sets the value ofCfnDashboard.TreeMapVisualProperty.getActions()
- Parameters:
actions
- The list of custom actions that are configured for a visual.- Returns:
this
-
actions
@Stability(Stable) public CfnDashboard.TreeMapVisualProperty.Builder actions(List<? extends Object> actions) Sets the value ofCfnDashboard.TreeMapVisualProperty.getActions()
- Parameters:
actions
- The list of custom actions that are configured for a visual.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnDashboard.TreeMapVisualProperty.Builder chartConfiguration(IResolvable chartConfiguration) Sets the value ofCfnDashboard.TreeMapVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- The configuration settings of the visual.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnDashboard.TreeMapVisualProperty.Builder chartConfiguration(CfnDashboard.TreeMapConfigurationProperty chartConfiguration) Sets the value ofCfnDashboard.TreeMapVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- The configuration settings of the visual.- Returns:
this
-
columnHierarchies
@Stability(Stable) public CfnDashboard.TreeMapVisualProperty.Builder columnHierarchies(IResolvable columnHierarchies) Sets the value ofCfnDashboard.TreeMapVisualProperty.getColumnHierarchies()
- Parameters:
columnHierarchies
- The column hierarchy that is used during drill-downs and drill-ups.- Returns:
this
-
columnHierarchies
@Stability(Stable) public CfnDashboard.TreeMapVisualProperty.Builder columnHierarchies(List<? extends Object> columnHierarchies) Sets the value ofCfnDashboard.TreeMapVisualProperty.getColumnHierarchies()
- Parameters:
columnHierarchies
- The column hierarchy that is used during drill-downs and drill-ups.- Returns:
this
-
subtitle
Sets the value ofCfnDashboard.TreeMapVisualProperty.getSubtitle()
- Parameters:
subtitle
- The subtitle that is displayed on the visual.- Returns:
this
-
subtitle
@Stability(Stable) public CfnDashboard.TreeMapVisualProperty.Builder subtitle(CfnDashboard.VisualSubtitleLabelOptionsProperty subtitle) Sets the value ofCfnDashboard.TreeMapVisualProperty.getSubtitle()
- Parameters:
subtitle
- The subtitle that is displayed on the visual.- Returns:
this
-
title
Sets the value ofCfnDashboard.TreeMapVisualProperty.getTitle()
- Parameters:
title
- The title that is displayed on the visual.- Returns:
this
-
title
@Stability(Stable) public CfnDashboard.TreeMapVisualProperty.Builder title(CfnDashboard.VisualTitleLabelOptionsProperty title) Sets the value ofCfnDashboard.TreeMapVisualProperty.getTitle()
- Parameters:
title
- The title that is displayed on the visual.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.TreeMapVisualProperty>
- Returns:
- a new instance of
CfnDashboard.TreeMapVisualProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-