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