Class CfnTemplate.FieldBasedTooltipProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.FieldBasedTooltipProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.FieldBasedTooltipProperty>
- Enclosing interface:
CfnTemplate.FieldBasedTooltipProperty
@Stability(Stable)
public static final class CfnTemplate.FieldBasedTooltipProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.FieldBasedTooltipProperty>
A builder for
CfnTemplate.FieldBasedTooltipProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaggregationVisibility
(String aggregationVisibility) Sets the value ofCfnTemplate.FieldBasedTooltipProperty.getAggregationVisibility()
build()
Builds the configured instance.tooltipFields
(List<? extends Object> tooltipFields) Sets the value ofCfnTemplate.FieldBasedTooltipProperty.getTooltipFields()
tooltipFields
(IResolvable tooltipFields) Sets the value ofCfnTemplate.FieldBasedTooltipProperty.getTooltipFields()
tooltipTitleType
(String tooltipTitleType) Sets the value ofCfnTemplate.FieldBasedTooltipProperty.getTooltipTitleType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationVisibility
@Stability(Stable) public CfnTemplate.FieldBasedTooltipProperty.Builder aggregationVisibility(String aggregationVisibility) Sets the value ofCfnTemplate.FieldBasedTooltipProperty.getAggregationVisibility()
- Parameters:
aggregationVisibility
- The visibility ofShow aggregations
.- Returns:
this
-
tooltipFields
@Stability(Stable) public CfnTemplate.FieldBasedTooltipProperty.Builder tooltipFields(IResolvable tooltipFields) Sets the value ofCfnTemplate.FieldBasedTooltipProperty.getTooltipFields()
- Parameters:
tooltipFields
- The fields configuration in the tooltip.- Returns:
this
-
tooltipFields
@Stability(Stable) public CfnTemplate.FieldBasedTooltipProperty.Builder tooltipFields(List<? extends Object> tooltipFields) Sets the value ofCfnTemplate.FieldBasedTooltipProperty.getTooltipFields()
- Parameters:
tooltipFields
- The fields configuration in the tooltip.- Returns:
this
-
tooltipTitleType
@Stability(Stable) public CfnTemplate.FieldBasedTooltipProperty.Builder tooltipTitleType(String tooltipTitleType) Sets the value ofCfnTemplate.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<CfnTemplate.FieldBasedTooltipProperty>
- Returns:
- a new instance of
CfnTemplate.FieldBasedTooltipProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-