Class CfnAnalysis.PluginVisualProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.PluginVisualProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.PluginVisualProperty>
- Enclosing interface:
CfnAnalysis.PluginVisualProperty
@Stability(Stable)
public static final class CfnAnalysis.PluginVisualProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.PluginVisualProperty>
A builder for
CfnAnalysis.PluginVisualProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.chartConfiguration
(IResolvable chartConfiguration) Sets the value ofCfnAnalysis.PluginVisualProperty.getChartConfiguration()
chartConfiguration
(CfnAnalysis.PluginVisualConfigurationProperty chartConfiguration) Sets the value ofCfnAnalysis.PluginVisualProperty.getChartConfiguration()
Sets the value ofCfnAnalysis.PluginVisualProperty.getPluginArn()
subtitle
(IResolvable subtitle) Sets the value ofCfnAnalysis.PluginVisualProperty.getSubtitle()
Sets the value ofCfnAnalysis.PluginVisualProperty.getSubtitle()
title
(IResolvable title) Sets the value ofCfnAnalysis.PluginVisualProperty.getTitle()
Sets the value ofCfnAnalysis.PluginVisualProperty.getTitle()
visualContentAltText
(String visualContentAltText) Sets the value ofCfnAnalysis.PluginVisualProperty.getVisualContentAltText()
Sets the value ofCfnAnalysis.PluginVisualProperty.getVisualId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pluginArn
Sets the value ofCfnAnalysis.PluginVisualProperty.getPluginArn()
- Parameters:
pluginArn
- The Amazon Resource Name (ARN) that reflects the plugin and version. This parameter is required.- Returns:
this
-
visualId
Sets the value ofCfnAnalysis.PluginVisualProperty.getVisualId()
- Parameters:
visualId
- The ID of the visual that you want to use. This parameter is required.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnAnalysis.PluginVisualProperty.Builder chartConfiguration(IResolvable chartConfiguration) Sets the value ofCfnAnalysis.PluginVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- A description of the plugin field wells and their persisted properties.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnAnalysis.PluginVisualProperty.Builder chartConfiguration(CfnAnalysis.PluginVisualConfigurationProperty chartConfiguration) Sets the value ofCfnAnalysis.PluginVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- A description of the plugin field wells and their persisted properties.- Returns:
this
-
subtitle
Sets the value ofCfnAnalysis.PluginVisualProperty.getSubtitle()
- Parameters:
subtitle
- the value to be set.- Returns:
this
-
subtitle
@Stability(Stable) public CfnAnalysis.PluginVisualProperty.Builder subtitle(CfnAnalysis.VisualSubtitleLabelOptionsProperty subtitle) Sets the value ofCfnAnalysis.PluginVisualProperty.getSubtitle()
- Parameters:
subtitle
- the value to be set.- Returns:
this
-
title
Sets the value ofCfnAnalysis.PluginVisualProperty.getTitle()
- Parameters:
title
- the value to be set.- Returns:
this
-
title
@Stability(Stable) public CfnAnalysis.PluginVisualProperty.Builder title(CfnAnalysis.VisualTitleLabelOptionsProperty title) Sets the value ofCfnAnalysis.PluginVisualProperty.getTitle()
- Parameters:
title
- the value to be set.- Returns:
this
-
visualContentAltText
@Stability(Stable) public CfnAnalysis.PluginVisualProperty.Builder visualContentAltText(String visualContentAltText) Sets the value ofCfnAnalysis.PluginVisualProperty.getVisualContentAltText()
- Parameters:
visualContentAltText
- The alt text for the visual.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.PluginVisualProperty>
- Returns:
- a new instance of
CfnAnalysis.PluginVisualProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-