Class CfnAnalysis.CustomContentVisualProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.CustomContentVisualProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.CustomContentVisualProperty>
- Enclosing interface:
CfnAnalysis.CustomContentVisualProperty
@Stability(Stable)
public static final class CfnAnalysis.CustomContentVisualProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.CustomContentVisualProperty>
A builder for
CfnAnalysis.CustomContentVisualProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAnalysis.CustomContentVisualProperty.getActions()
actions
(IResolvable actions) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getActions()
build()
Builds the configured instance.chartConfiguration
(IResolvable chartConfiguration) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getChartConfiguration()
chartConfiguration
(CfnAnalysis.CustomContentConfigurationProperty chartConfiguration) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getChartConfiguration()
dataSetIdentifier
(String dataSetIdentifier) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getDataSetIdentifier()
subtitle
(IResolvable subtitle) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getSubtitle()
Sets the value ofCfnAnalysis.CustomContentVisualProperty.getSubtitle()
title
(IResolvable title) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getTitle()
Sets the value ofCfnAnalysis.CustomContentVisualProperty.getTitle()
Sets the value ofCfnAnalysis.CustomContentVisualProperty.getVisualId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSetIdentifier
@Stability(Stable) public CfnAnalysis.CustomContentVisualProperty.Builder dataSetIdentifier(String dataSetIdentifier) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getDataSetIdentifier()
- Parameters:
dataSetIdentifier
- The dataset that is used to create the custom content visual. This parameter is required. You can't create a visual without a dataset.- Returns:
this
-
visualId
Sets the value ofCfnAnalysis.CustomContentVisualProperty.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.CustomContentVisualProperty.Builder actions(IResolvable actions) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getActions()
- Parameters:
actions
- The list of custom actions that are configured for a visual.- Returns:
this
-
actions
@Stability(Stable) public CfnAnalysis.CustomContentVisualProperty.Builder actions(List<? extends Object> actions) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getActions()
- Parameters:
actions
- The list of custom actions that are configured for a visual.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnAnalysis.CustomContentVisualProperty.Builder chartConfiguration(IResolvable chartConfiguration) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- The configuration of aCustomContentVisual
.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnAnalysis.CustomContentVisualProperty.Builder chartConfiguration(CfnAnalysis.CustomContentConfigurationProperty chartConfiguration) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- The configuration of aCustomContentVisual
.- Returns:
this
-
subtitle
@Stability(Stable) public CfnAnalysis.CustomContentVisualProperty.Builder subtitle(IResolvable subtitle) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getSubtitle()
- Parameters:
subtitle
- The subtitle that is displayed on the visual.- Returns:
this
-
subtitle
@Stability(Stable) public CfnAnalysis.CustomContentVisualProperty.Builder subtitle(CfnAnalysis.VisualSubtitleLabelOptionsProperty subtitle) Sets the value ofCfnAnalysis.CustomContentVisualProperty.getSubtitle()
- Parameters:
subtitle
- The subtitle that is displayed on the visual.- Returns:
this
-
title
Sets the value ofCfnAnalysis.CustomContentVisualProperty.getTitle()
- Parameters:
title
- The title that is displayed on the visual.- Returns:
this
-
title
@Stability(Stable) public CfnAnalysis.CustomContentVisualProperty.Builder title(CfnAnalysis.VisualTitleLabelOptionsProperty title) Sets the value ofCfnAnalysis.CustomContentVisualProperty.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.CustomContentVisualProperty>
- Returns:
- a new instance of
CfnAnalysis.CustomContentVisualProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-