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