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