Class CfnTemplate.TooltipOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.TooltipOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.TooltipOptionsProperty>
- Enclosing interface:
CfnTemplate.TooltipOptionsProperty
@Stability(Stable)
public static final class CfnTemplate.TooltipOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.TooltipOptionsProperty>
A builder for
CfnTemplate.TooltipOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.fieldBasedTooltip
(IResolvable fieldBasedTooltip) Sets the value ofCfnTemplate.TooltipOptionsProperty.getFieldBasedTooltip()
fieldBasedTooltip
(CfnTemplate.FieldBasedTooltipProperty fieldBasedTooltip) Sets the value ofCfnTemplate.TooltipOptionsProperty.getFieldBasedTooltip()
selectedTooltipType
(String selectedTooltipType) Sets the value ofCfnTemplate.TooltipOptionsProperty.getSelectedTooltipType()
tooltipVisibility
(String tooltipVisibility) Sets the value ofCfnTemplate.TooltipOptionsProperty.getTooltipVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldBasedTooltip
@Stability(Stable) public CfnTemplate.TooltipOptionsProperty.Builder fieldBasedTooltip(IResolvable fieldBasedTooltip) Sets the value ofCfnTemplate.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 CfnTemplate.TooltipOptionsProperty.Builder fieldBasedTooltip(CfnTemplate.FieldBasedTooltipProperty fieldBasedTooltip) Sets the value ofCfnTemplate.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 CfnTemplate.TooltipOptionsProperty.Builder selectedTooltipType(String selectedTooltipType) Sets the value ofCfnTemplate.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 CfnTemplate.TooltipOptionsProperty.Builder tooltipVisibility(String tooltipVisibility) Sets the value ofCfnTemplate.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<CfnTemplate.TooltipOptionsProperty>
- Returns:
- a new instance of
CfnTemplate.TooltipOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-