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