Class CfnTemplate.TableCellStyleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.TableCellStyleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.TableCellStyleProperty>
- Enclosing interface:
CfnTemplate.TableCellStyleProperty
@Stability(Stable)
public static final class CfnTemplate.TableCellStyleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.TableCellStyleProperty>
A builder for
CfnTemplate.TableCellStyleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor(String backgroundColor) Sets the value ofCfnTemplate.TableCellStyleProperty.getBackgroundColor()border(IResolvable border) Sets the value ofCfnTemplate.TableCellStyleProperty.getBorder()Sets the value ofCfnTemplate.TableCellStyleProperty.getBorder()build()Builds the configured instance.fontConfiguration(IResolvable fontConfiguration) Sets the value ofCfnTemplate.TableCellStyleProperty.getFontConfiguration()fontConfiguration(CfnTemplate.FontConfigurationProperty fontConfiguration) Sets the value ofCfnTemplate.TableCellStyleProperty.getFontConfiguration()Sets the value ofCfnTemplate.TableCellStyleProperty.getHeight()horizontalTextAlignment(String horizontalTextAlignment) Sets the value ofCfnTemplate.TableCellStyleProperty.getHorizontalTextAlignment()Sets the value ofCfnTemplate.TableCellStyleProperty.getTextWrap()verticalTextAlignment(String verticalTextAlignment) Sets the value ofCfnTemplate.TableCellStyleProperty.getVerticalTextAlignment()visibility(String visibility) Sets the value ofCfnTemplate.TableCellStyleProperty.getVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backgroundColor
@Stability(Stable) public CfnTemplate.TableCellStyleProperty.Builder backgroundColor(String backgroundColor) Sets the value ofCfnTemplate.TableCellStyleProperty.getBackgroundColor()- Parameters:
backgroundColor- The background color for the table cells.- Returns:
this
-
border
Sets the value ofCfnTemplate.TableCellStyleProperty.getBorder()- Parameters:
border- The borders for the table cells.- Returns:
this
-
border
@Stability(Stable) public CfnTemplate.TableCellStyleProperty.Builder border(CfnTemplate.GlobalTableBorderOptionsProperty border) Sets the value ofCfnTemplate.TableCellStyleProperty.getBorder()- Parameters:
border- The borders for the table cells.- Returns:
this
-
fontConfiguration
@Stability(Stable) public CfnTemplate.TableCellStyleProperty.Builder fontConfiguration(IResolvable fontConfiguration) Sets the value ofCfnTemplate.TableCellStyleProperty.getFontConfiguration()- Parameters:
fontConfiguration- The font configuration of the table cells.- Returns:
this
-
fontConfiguration
@Stability(Stable) public CfnTemplate.TableCellStyleProperty.Builder fontConfiguration(CfnTemplate.FontConfigurationProperty fontConfiguration) Sets the value ofCfnTemplate.TableCellStyleProperty.getFontConfiguration()- Parameters:
fontConfiguration- The font configuration of the table cells.- Returns:
this
-
height
Sets the value ofCfnTemplate.TableCellStyleProperty.getHeight()- Parameters:
height- The height color for the table cells.- Returns:
this
-
horizontalTextAlignment
@Stability(Stable) public CfnTemplate.TableCellStyleProperty.Builder horizontalTextAlignment(String horizontalTextAlignment) Sets the value ofCfnTemplate.TableCellStyleProperty.getHorizontalTextAlignment()- Parameters:
horizontalTextAlignment- The horizontal text alignment (left, center, right, auto) for the table cells.- Returns:
this
-
textWrap
Sets the value ofCfnTemplate.TableCellStyleProperty.getTextWrap()- Parameters:
textWrap- The text wrap (none, wrap) for the table cells.- Returns:
this
-
verticalTextAlignment
@Stability(Stable) public CfnTemplate.TableCellStyleProperty.Builder verticalTextAlignment(String verticalTextAlignment) Sets the value ofCfnTemplate.TableCellStyleProperty.getVerticalTextAlignment()- Parameters:
verticalTextAlignment- The vertical text alignment (top, middle, bottom) for the table cells.- Returns:
this
-
visibility
Sets the value ofCfnTemplate.TableCellStyleProperty.getVisibility()- Parameters:
visibility- The visibility of the table cells.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.TableCellStyleProperty>- Returns:
- a new instance of
CfnTemplate.TableCellStyleProperty - Throws:
NullPointerException- if any required attribute was not provided
-