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