Class CfnDashboard.TooltipOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.TooltipOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.TooltipOptionsProperty>
- Enclosing interface:
CfnDashboard.TooltipOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.TooltipOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.TooltipOptionsProperty>
A builder for
CfnDashboard.TooltipOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.fieldBasedTooltip
(IResolvable fieldBasedTooltip) Sets the value ofCfnDashboard.TooltipOptionsProperty.getFieldBasedTooltip()
fieldBasedTooltip
(CfnDashboard.FieldBasedTooltipProperty fieldBasedTooltip) Sets the value ofCfnDashboard.TooltipOptionsProperty.getFieldBasedTooltip()
selectedTooltipType
(String selectedTooltipType) Sets the value ofCfnDashboard.TooltipOptionsProperty.getSelectedTooltipType()
tooltipVisibility
(String tooltipVisibility) Sets the value ofCfnDashboard.TooltipOptionsProperty.getTooltipVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldBasedTooltip
@Stability(Stable) public CfnDashboard.TooltipOptionsProperty.Builder fieldBasedTooltip(IResolvable fieldBasedTooltip) Sets the value ofCfnDashboard.TooltipOptionsProperty.getFieldBasedTooltip()
- Parameters:
fieldBasedTooltip
- The setup for the detailed tooltip. The tooltip setup is always saved. The display type is decided based on the tooltip type.- Returns:
this
-
fieldBasedTooltip
@Stability(Stable) public CfnDashboard.TooltipOptionsProperty.Builder fieldBasedTooltip(CfnDashboard.FieldBasedTooltipProperty fieldBasedTooltip) Sets the value ofCfnDashboard.TooltipOptionsProperty.getFieldBasedTooltip()
- Parameters:
fieldBasedTooltip
- The setup for the detailed tooltip. The tooltip setup is always saved. The display type is decided based on the tooltip type.- Returns:
this
-
selectedTooltipType
@Stability(Stable) public CfnDashboard.TooltipOptionsProperty.Builder selectedTooltipType(String selectedTooltipType) Sets the value ofCfnDashboard.TooltipOptionsProperty.getSelectedTooltipType()
- Parameters:
selectedTooltipType
- The selected type for the tooltip. Choose one of the following options:.BASIC
: A basic tooltip.DETAILED
: A detailed tooltip.
- Returns:
this
-
tooltipVisibility
@Stability(Stable) public CfnDashboard.TooltipOptionsProperty.Builder tooltipVisibility(String tooltipVisibility) Sets the value ofCfnDashboard.TooltipOptionsProperty.getTooltipVisibility()
- Parameters:
tooltipVisibility
- Determines whether or not the tooltip is visible.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.TooltipOptionsProperty>
- Returns:
- a new instance of
CfnDashboard.TooltipOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-