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