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