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