Class CfnAnalysis.LayerMapVisualProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.LayerMapVisualProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.LayerMapVisualProperty>
- Enclosing interface:
CfnAnalysis.LayerMapVisualProperty
@Stability(Stable)
public static final class CfnAnalysis.LayerMapVisualProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.LayerMapVisualProperty>
A builder for
CfnAnalysis.LayerMapVisualProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.chartConfiguration
(IResolvable chartConfiguration) Sets the value ofCfnAnalysis.LayerMapVisualProperty.getChartConfiguration()
chartConfiguration
(CfnAnalysis.GeospatialLayerMapConfigurationProperty chartConfiguration) Sets the value ofCfnAnalysis.LayerMapVisualProperty.getChartConfiguration()
dataSetIdentifier
(String dataSetIdentifier) Sets the value ofCfnAnalysis.LayerMapVisualProperty.getDataSetIdentifier()
subtitle
(IResolvable subtitle) Sets the value ofCfnAnalysis.LayerMapVisualProperty.getSubtitle()
Sets the value ofCfnAnalysis.LayerMapVisualProperty.getSubtitle()
title
(IResolvable title) Sets the value ofCfnAnalysis.LayerMapVisualProperty.getTitle()
Sets the value ofCfnAnalysis.LayerMapVisualProperty.getTitle()
visualContentAltText
(String visualContentAltText) Sets the value ofCfnAnalysis.LayerMapVisualProperty.getVisualContentAltText()
Sets the value ofCfnAnalysis.LayerMapVisualProperty.getVisualId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataSetIdentifier
@Stability(Stable) public CfnAnalysis.LayerMapVisualProperty.Builder dataSetIdentifier(String dataSetIdentifier) Sets the value ofCfnAnalysis.LayerMapVisualProperty.getDataSetIdentifier()
- Parameters:
dataSetIdentifier
- The dataset that is used to create the layer map visual. This parameter is required. You can't create a visual without a dataset.- Returns:
this
-
visualId
Sets the value ofCfnAnalysis.LayerMapVisualProperty.getVisualId()
- Parameters:
visualId
- The ID of the visual. This parameter is required.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnAnalysis.LayerMapVisualProperty.Builder chartConfiguration(IResolvable chartConfiguration) Sets the value ofCfnAnalysis.LayerMapVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- The configuration settings of the visual.- Returns:
this
-
chartConfiguration
@Stability(Stable) public CfnAnalysis.LayerMapVisualProperty.Builder chartConfiguration(CfnAnalysis.GeospatialLayerMapConfigurationProperty chartConfiguration) Sets the value ofCfnAnalysis.LayerMapVisualProperty.getChartConfiguration()
- Parameters:
chartConfiguration
- The configuration settings of the visual.- Returns:
this
-
subtitle
Sets the value ofCfnAnalysis.LayerMapVisualProperty.getSubtitle()
- Parameters:
subtitle
- the value to be set.- Returns:
this
-
subtitle
@Stability(Stable) public CfnAnalysis.LayerMapVisualProperty.Builder subtitle(CfnAnalysis.VisualSubtitleLabelOptionsProperty subtitle) Sets the value ofCfnAnalysis.LayerMapVisualProperty.getSubtitle()
- Parameters:
subtitle
- the value to be set.- Returns:
this
-
title
Sets the value ofCfnAnalysis.LayerMapVisualProperty.getTitle()
- Parameters:
title
- the value to be set.- Returns:
this
-
title
@Stability(Stable) public CfnAnalysis.LayerMapVisualProperty.Builder title(CfnAnalysis.VisualTitleLabelOptionsProperty title) Sets the value ofCfnAnalysis.LayerMapVisualProperty.getTitle()
- Parameters:
title
- the value to be set.- Returns:
this
-
visualContentAltText
@Stability(Stable) public CfnAnalysis.LayerMapVisualProperty.Builder visualContentAltText(String visualContentAltText) Sets the value ofCfnAnalysis.LayerMapVisualProperty.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.LayerMapVisualProperty>
- Returns:
- a new instance of
CfnAnalysis.LayerMapVisualProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-