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