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