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