Class CfnDashboard.InsightVisualProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.InsightVisualProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.InsightVisualProperty>
- Enclosing interface:
- CfnDashboard.InsightVisualProperty
@Stability(Stable)
public static final class CfnDashboard.InsightVisualProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.InsightVisualProperty>
A builder for
CfnDashboard.InsightVisualProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDashboard.InsightVisualProperty.getActions()actions(IResolvable actions) Sets the value ofCfnDashboard.InsightVisualProperty.getActions()build()Builds the configured instance.dataSetIdentifier(String dataSetIdentifier) Sets the value ofCfnDashboard.InsightVisualProperty.getDataSetIdentifier()insightConfiguration(IResolvable insightConfiguration) Sets the value ofCfnDashboard.InsightVisualProperty.getInsightConfiguration()insightConfiguration(CfnDashboard.InsightConfigurationProperty insightConfiguration) Sets the value ofCfnDashboard.InsightVisualProperty.getInsightConfiguration()subtitle(IResolvable subtitle) Sets the value ofCfnDashboard.InsightVisualProperty.getSubtitle()Sets the value ofCfnDashboard.InsightVisualProperty.getSubtitle()title(IResolvable title) Sets the value ofCfnDashboard.InsightVisualProperty.getTitle()Sets the value ofCfnDashboard.InsightVisualProperty.getTitle()Sets the value ofCfnDashboard.InsightVisualProperty.getVisualId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSetIdentifier
@Stability(Stable) public CfnDashboard.InsightVisualProperty.Builder dataSetIdentifier(String dataSetIdentifier) Sets the value ofCfnDashboard.InsightVisualProperty.getDataSetIdentifier()- Parameters:
dataSetIdentifier- The dataset that is used in the insight visual. This parameter is required.- Returns:
this
-
visualId
Sets the value ofCfnDashboard.InsightVisualProperty.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 ofCfnDashboard.InsightVisualProperty.getActions()- Parameters:
actions- The list of custom actions that are configured for a visual.- Returns:
this
-
actions
@Stability(Stable) public CfnDashboard.InsightVisualProperty.Builder actions(List<? extends Object> actions) Sets the value ofCfnDashboard.InsightVisualProperty.getActions()- Parameters:
actions- The list of custom actions that are configured for a visual.- Returns:
this
-
insightConfiguration
@Stability(Stable) public CfnDashboard.InsightVisualProperty.Builder insightConfiguration(IResolvable insightConfiguration) Sets the value ofCfnDashboard.InsightVisualProperty.getInsightConfiguration()- Parameters:
insightConfiguration- The configuration of an insight visual.- Returns:
this
-
insightConfiguration
@Stability(Stable) public CfnDashboard.InsightVisualProperty.Builder insightConfiguration(CfnDashboard.InsightConfigurationProperty insightConfiguration) Sets the value ofCfnDashboard.InsightVisualProperty.getInsightConfiguration()- Parameters:
insightConfiguration- The configuration of an insight visual.- Returns:
this
-
subtitle
Sets the value ofCfnDashboard.InsightVisualProperty.getSubtitle()- Parameters:
subtitle- The subtitle that is displayed on the visual.- Returns:
this
-
subtitle
@Stability(Stable) public CfnDashboard.InsightVisualProperty.Builder subtitle(CfnDashboard.VisualSubtitleLabelOptionsProperty subtitle) Sets the value ofCfnDashboard.InsightVisualProperty.getSubtitle()- Parameters:
subtitle- The subtitle that is displayed on the visual.- Returns:
this
-
title
Sets the value ofCfnDashboard.InsightVisualProperty.getTitle()- Parameters:
title- The title that is displayed on the visual.- Returns:
this
-
title
@Stability(Stable) public CfnDashboard.InsightVisualProperty.Builder title(CfnDashboard.VisualTitleLabelOptionsProperty title) Sets the value ofCfnDashboard.InsightVisualProperty.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<CfnDashboard.InsightVisualProperty>- Returns:
- a new instance of
CfnDashboard.InsightVisualProperty - Throws:
NullPointerException- if any required attribute was not provided
-