Class CfnDashboard.TotalOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.TotalOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.TotalOptionsProperty>
- Enclosing interface:
CfnDashboard.TotalOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.TotalOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.TotalOptionsProperty>
A builder for
CfnDashboard.TotalOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customLabel(String customLabel) Sets the value ofCfnDashboard.TotalOptionsProperty.getCustomLabel()Sets the value ofCfnDashboard.TotalOptionsProperty.getPlacement()scrollStatus(String scrollStatus) Sets the value ofCfnDashboard.TotalOptionsProperty.getScrollStatus()totalAggregationOptions(List<? extends Object> totalAggregationOptions) Sets the value ofCfnDashboard.TotalOptionsProperty.getTotalAggregationOptions()totalAggregationOptions(IResolvable totalAggregationOptions) Sets the value ofCfnDashboard.TotalOptionsProperty.getTotalAggregationOptions()totalCellStyle(IResolvable totalCellStyle) Sets the value ofCfnDashboard.TotalOptionsProperty.getTotalCellStyle()totalCellStyle(CfnDashboard.TableCellStyleProperty totalCellStyle) Sets the value ofCfnDashboard.TotalOptionsProperty.getTotalCellStyle()totalsVisibility(String totalsVisibility) Sets the value ofCfnDashboard.TotalOptionsProperty.getTotalsVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customLabel
Sets the value ofCfnDashboard.TotalOptionsProperty.getCustomLabel()- Parameters:
customLabel- The custom label string for the total cells.- Returns:
this
-
placement
Sets the value ofCfnDashboard.TotalOptionsProperty.getPlacement()- Parameters:
placement- The placement (start, end) for the total cells.- Returns:
this
-
scrollStatus
@Stability(Stable) public CfnDashboard.TotalOptionsProperty.Builder scrollStatus(String scrollStatus) Sets the value ofCfnDashboard.TotalOptionsProperty.getScrollStatus()- Parameters:
scrollStatus- The scroll status (pinned, scrolled) for the total cells.- Returns:
this
-
totalAggregationOptions
@Stability(Stable) public CfnDashboard.TotalOptionsProperty.Builder totalAggregationOptions(IResolvable totalAggregationOptions) Sets the value ofCfnDashboard.TotalOptionsProperty.getTotalAggregationOptions()- Parameters:
totalAggregationOptions- The total aggregation settings for each value field.- Returns:
this
-
totalAggregationOptions
@Stability(Stable) public CfnDashboard.TotalOptionsProperty.Builder totalAggregationOptions(List<? extends Object> totalAggregationOptions) Sets the value ofCfnDashboard.TotalOptionsProperty.getTotalAggregationOptions()- Parameters:
totalAggregationOptions- The total aggregation settings for each value field.- Returns:
this
-
totalCellStyle
@Stability(Stable) public CfnDashboard.TotalOptionsProperty.Builder totalCellStyle(IResolvable totalCellStyle) Sets the value ofCfnDashboard.TotalOptionsProperty.getTotalCellStyle()- Parameters:
totalCellStyle- Cell styling options for the total cells.- Returns:
this
-
totalCellStyle
@Stability(Stable) public CfnDashboard.TotalOptionsProperty.Builder totalCellStyle(CfnDashboard.TableCellStyleProperty totalCellStyle) Sets the value ofCfnDashboard.TotalOptionsProperty.getTotalCellStyle()- Parameters:
totalCellStyle- Cell styling options for the total cells.- Returns:
this
-
totalsVisibility
@Stability(Stable) public CfnDashboard.TotalOptionsProperty.Builder totalsVisibility(String totalsVisibility) Sets the value ofCfnDashboard.TotalOptionsProperty.getTotalsVisibility()- Parameters:
totalsVisibility- The visibility configuration for the total cells.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.TotalOptionsProperty>- Returns:
- a new instance of
CfnDashboard.TotalOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-