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