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