Class CfnTemplate.WaterfallVisualProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.WaterfallVisualProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.WaterfallVisualProperty>
- Enclosing interface:
CfnTemplate.WaterfallVisualProperty
@Stability(Stable)
public static final class CfnTemplate.WaterfallVisualProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.WaterfallVisualProperty>
A builder for
CfnTemplate.WaterfallVisualProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTemplate.WaterfallVisualProperty.getActions()
actions
(IResolvable actions) Sets the value ofCfnTemplate.WaterfallVisualProperty.getActions()
build()
Builds the configured instance.chartConfiguration
(IResolvable chartConfiguration) Sets the value ofCfnTemplate.WaterfallVisualProperty.getChartConfiguration()
chartConfiguration
(CfnTemplate.WaterfallChartConfigurationProperty chartConfiguration) Sets the value ofCfnTemplate.WaterfallVisualProperty.getChartConfiguration()
columnHierarchies
(List<? extends Object> columnHierarchies) Sets the value ofCfnTemplate.WaterfallVisualProperty.getColumnHierarchies()
columnHierarchies
(IResolvable columnHierarchies) Sets the value ofCfnTemplate.WaterfallVisualProperty.getColumnHierarchies()
subtitle
(IResolvable subtitle) Sets the value ofCfnTemplate.WaterfallVisualProperty.getSubtitle()
Sets the value ofCfnTemplate.WaterfallVisualProperty.getSubtitle()
title
(IResolvable title) Sets the value ofCfnTemplate.WaterfallVisualProperty.getTitle()
Sets the value ofCfnTemplate.WaterfallVisualProperty.getTitle()
Sets the value ofCfnTemplate.WaterfallVisualProperty.getVisualId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
visualId
Sets the value ofCfnTemplate.WaterfallVisualProperty.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 ofCfnTemplate.WaterfallVisualProperty.getActions()
- Parameters:
actions
- The list of custom actions that are configured for a visual.- Returns:
this
-
actions
@Stability(Stable) public CfnTemplate.WaterfallVisualProperty.Builder actions(List<? extends Object> actions) Sets the value ofCfnTemplate.WaterfallVisualProperty.getActions()
- Parameters:
actions
- The list of custom actions that are configured for a visual.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnTemplate.WaterfallVisualProperty.Builder chartConfiguration(IResolvable chartConfiguration) Sets the value ofCfnTemplate.WaterfallVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- The configuration for a waterfall visual.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnTemplate.WaterfallVisualProperty.Builder chartConfiguration(CfnTemplate.WaterfallChartConfigurationProperty chartConfiguration) Sets the value ofCfnTemplate.WaterfallVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- The configuration for a waterfall visual.- Returns:
this
-
columnHierarchies
@Stability(Stable) public CfnTemplate.WaterfallVisualProperty.Builder columnHierarchies(IResolvable columnHierarchies) Sets the value ofCfnTemplate.WaterfallVisualProperty.getColumnHierarchies()
- Parameters:
columnHierarchies
- The column hierarchy that is used during drill-downs and drill-ups.- Returns:
this
-
columnHierarchies
@Stability(Stable) public CfnTemplate.WaterfallVisualProperty.Builder columnHierarchies(List<? extends Object> columnHierarchies) Sets the value ofCfnTemplate.WaterfallVisualProperty.getColumnHierarchies()
- Parameters:
columnHierarchies
- The column hierarchy that is used during drill-downs and drill-ups.- Returns:
this
-
subtitle
@Stability(Stable) public CfnTemplate.WaterfallVisualProperty.Builder subtitle(IResolvable subtitle) Sets the value ofCfnTemplate.WaterfallVisualProperty.getSubtitle()
- Parameters:
subtitle
- The subtitle that is displayed on the visual.- Returns:
this
-
subtitle
@Stability(Stable) public CfnTemplate.WaterfallVisualProperty.Builder subtitle(CfnTemplate.VisualSubtitleLabelOptionsProperty subtitle) Sets the value ofCfnTemplate.WaterfallVisualProperty.getSubtitle()
- Parameters:
subtitle
- The subtitle that is displayed on the visual.- Returns:
this
-
title
Sets the value ofCfnTemplate.WaterfallVisualProperty.getTitle()
- Parameters:
title
- The title that is displayed on the visual.- Returns:
this
-
title
@Stability(Stable) public CfnTemplate.WaterfallVisualProperty.Builder title(CfnTemplate.VisualTitleLabelOptionsProperty title) Sets the value ofCfnTemplate.WaterfallVisualProperty.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<CfnTemplate.WaterfallVisualProperty>
- Returns:
- a new instance of
CfnTemplate.WaterfallVisualProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-