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