Class CfnDashboard.FieldBasedTooltipProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.FieldBasedTooltipProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.FieldBasedTooltipProperty>
- Enclosing interface:
CfnDashboard.FieldBasedTooltipProperty
@Stability(Stable)
public static final class CfnDashboard.FieldBasedTooltipProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.FieldBasedTooltipProperty>
A builder for
CfnDashboard.FieldBasedTooltipProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaggregationVisibility
(String aggregationVisibility) Sets the value ofCfnDashboard.FieldBasedTooltipProperty.getAggregationVisibility()
build()
Builds the configured instance.tooltipFields
(List<? extends Object> tooltipFields) Sets the value ofCfnDashboard.FieldBasedTooltipProperty.getTooltipFields()
tooltipFields
(IResolvable tooltipFields) Sets the value ofCfnDashboard.FieldBasedTooltipProperty.getTooltipFields()
tooltipTitleType
(String tooltipTitleType) Sets the value ofCfnDashboard.FieldBasedTooltipProperty.getTooltipTitleType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationVisibility
@Stability(Stable) public CfnDashboard.FieldBasedTooltipProperty.Builder aggregationVisibility(String aggregationVisibility) Sets the value ofCfnDashboard.FieldBasedTooltipProperty.getAggregationVisibility()
- Parameters:
aggregationVisibility
- The visibility ofShow aggregations
.- Returns:
this
-
tooltipFields
@Stability(Stable) public CfnDashboard.FieldBasedTooltipProperty.Builder tooltipFields(IResolvable tooltipFields) Sets the value ofCfnDashboard.FieldBasedTooltipProperty.getTooltipFields()
- Parameters:
tooltipFields
- The fields configuration in the tooltip.- Returns:
this
-
tooltipFields
@Stability(Stable) public CfnDashboard.FieldBasedTooltipProperty.Builder tooltipFields(List<? extends Object> tooltipFields) Sets the value ofCfnDashboard.FieldBasedTooltipProperty.getTooltipFields()
- Parameters:
tooltipFields
- The fields configuration in the tooltip.- Returns:
this
-
tooltipTitleType
@Stability(Stable) public CfnDashboard.FieldBasedTooltipProperty.Builder tooltipTitleType(String tooltipTitleType) Sets the value ofCfnDashboard.FieldBasedTooltipProperty.getTooltipTitleType()
- Parameters:
tooltipTitleType
- The type for the >tooltip title. Choose one of the following options:.NONE
: Doesn't use the primary value as the title.PRIMARY_VALUE
: Uses primary value as the title.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.FieldBasedTooltipProperty>
- Returns:
- a new instance of
CfnDashboard.FieldBasedTooltipProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-