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