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