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