Class CfnAnalysis.FieldTooltipItemProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.FieldTooltipItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.FieldTooltipItemProperty>
- Enclosing interface:
CfnAnalysis.FieldTooltipItemProperty
@Stability(Stable)
public static final class CfnAnalysis.FieldTooltipItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.FieldTooltipItemProperty>
A builder for
CfnAnalysis.FieldTooltipItemProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnalysis.FieldTooltipItemProperty.getFieldId()Sets the value ofCfnAnalysis.FieldTooltipItemProperty.getLabel()tooltipTarget(String tooltipTarget) Sets the value ofCfnAnalysis.FieldTooltipItemProperty.getTooltipTarget()visibility(String visibility) Sets the value ofCfnAnalysis.FieldTooltipItemProperty.getVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldId
Sets the value ofCfnAnalysis.FieldTooltipItemProperty.getFieldId()- Parameters:
fieldId- The unique ID of the field that is targeted by the tooltip. This parameter is required.- Returns:
this
-
label
Sets the value ofCfnAnalysis.FieldTooltipItemProperty.getLabel()- Parameters:
label- The label of the tooltip item.- Returns:
this
-
tooltipTarget
@Stability(Stable) public CfnAnalysis.FieldTooltipItemProperty.Builder tooltipTarget(String tooltipTarget) Sets the value ofCfnAnalysis.FieldTooltipItemProperty.getTooltipTarget()- Parameters:
tooltipTarget- Determines the target of the field tooltip item in a combo chart visual.- Returns:
this
-
visibility
@Stability(Stable) public CfnAnalysis.FieldTooltipItemProperty.Builder visibility(String visibility) Sets the value ofCfnAnalysis.FieldTooltipItemProperty.getVisibility()- Parameters:
visibility- The visibility of the tooltip item.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.FieldTooltipItemProperty>- Returns:
- a new instance of
CfnAnalysis.FieldTooltipItemProperty - Throws:
NullPointerException- if any required attribute was not provided
-