Class CfnDashboard.GaugeChartVisualProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.GaugeChartVisualProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.GaugeChartVisualProperty>
- Enclosing interface:
CfnDashboard.GaugeChartVisualProperty
@Stability(Stable)
public static final class CfnDashboard.GaugeChartVisualProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.GaugeChartVisualProperty>
A builder for
CfnDashboard.GaugeChartVisualProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDashboard.GaugeChartVisualProperty.getActions()
actions
(IResolvable actions) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getActions()
build()
Builds the configured instance.chartConfiguration
(IResolvable chartConfiguration) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getChartConfiguration()
chartConfiguration
(CfnDashboard.GaugeChartConfigurationProperty chartConfiguration) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getChartConfiguration()
conditionalFormatting
(IResolvable conditionalFormatting) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getConditionalFormatting()
conditionalFormatting
(CfnDashboard.GaugeChartConditionalFormattingProperty conditionalFormatting) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getConditionalFormatting()
subtitle
(IResolvable subtitle) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getSubtitle()
Sets the value ofCfnDashboard.GaugeChartVisualProperty.getSubtitle()
title
(IResolvable title) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getTitle()
Sets the value ofCfnDashboard.GaugeChartVisualProperty.getTitle()
visualContentAltText
(String visualContentAltText) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getVisualContentAltText()
Sets the value ofCfnDashboard.GaugeChartVisualProperty.getVisualId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
visualId
Sets the value ofCfnDashboard.GaugeChartVisualProperty.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
@Stability(Stable) public CfnDashboard.GaugeChartVisualProperty.Builder actions(IResolvable actions) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getActions()
- Parameters:
actions
- The list of custom actions that are configured for a visual.- Returns:
this
-
actions
@Stability(Stable) public CfnDashboard.GaugeChartVisualProperty.Builder actions(List<? extends Object> actions) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getActions()
- Parameters:
actions
- The list of custom actions that are configured for a visual.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnDashboard.GaugeChartVisualProperty.Builder chartConfiguration(IResolvable chartConfiguration) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- The configuration of aGaugeChartVisual
.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnDashboard.GaugeChartVisualProperty.Builder chartConfiguration(CfnDashboard.GaugeChartConfigurationProperty chartConfiguration) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- The configuration of aGaugeChartVisual
.- Returns:
this
-
conditionalFormatting
@Stability(Stable) public CfnDashboard.GaugeChartVisualProperty.Builder conditionalFormatting(IResolvable conditionalFormatting) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getConditionalFormatting()
- Parameters:
conditionalFormatting
- The conditional formatting of aGaugeChartVisual
.- Returns:
this
-
conditionalFormatting
@Stability(Stable) public CfnDashboard.GaugeChartVisualProperty.Builder conditionalFormatting(CfnDashboard.GaugeChartConditionalFormattingProperty conditionalFormatting) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getConditionalFormatting()
- Parameters:
conditionalFormatting
- The conditional formatting of aGaugeChartVisual
.- Returns:
this
-
subtitle
@Stability(Stable) public CfnDashboard.GaugeChartVisualProperty.Builder subtitle(IResolvable subtitle) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getSubtitle()
- Parameters:
subtitle
- The subtitle that is displayed on the visual.- Returns:
this
-
subtitle
@Stability(Stable) public CfnDashboard.GaugeChartVisualProperty.Builder subtitle(CfnDashboard.VisualSubtitleLabelOptionsProperty subtitle) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getSubtitle()
- Parameters:
subtitle
- The subtitle that is displayed on the visual.- Returns:
this
-
title
Sets the value ofCfnDashboard.GaugeChartVisualProperty.getTitle()
- Parameters:
title
- The title that is displayed on the visual.- Returns:
this
-
title
@Stability(Stable) public CfnDashboard.GaugeChartVisualProperty.Builder title(CfnDashboard.VisualTitleLabelOptionsProperty title) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getTitle()
- Parameters:
title
- The title that is displayed on the visual.- Returns:
this
-
visualContentAltText
@Stability(Stable) public CfnDashboard.GaugeChartVisualProperty.Builder visualContentAltText(String visualContentAltText) Sets the value ofCfnDashboard.GaugeChartVisualProperty.getVisualContentAltText()
- Parameters:
visualContentAltText
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.GaugeChartVisualProperty>
- Returns:
- a new instance of
CfnDashboard.GaugeChartVisualProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-