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