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