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