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