Class CfnAnalysis.TableOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.TableOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.TableOptionsProperty>
- Enclosing interface:
CfnAnalysis.TableOptionsProperty
@Stability(Stable)
public static final class CfnAnalysis.TableOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.TableOptionsProperty>
A builder for
CfnAnalysis.TableOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cellStyle
(IResolvable cellStyle) Sets the value ofCfnAnalysis.TableOptionsProperty.getCellStyle()
cellStyle
(CfnAnalysis.TableCellStyleProperty cellStyle) Sets the value ofCfnAnalysis.TableOptionsProperty.getCellStyle()
headerStyle
(IResolvable headerStyle) Sets the value ofCfnAnalysis.TableOptionsProperty.getHeaderStyle()
headerStyle
(CfnAnalysis.TableCellStyleProperty headerStyle) Sets the value ofCfnAnalysis.TableOptionsProperty.getHeaderStyle()
orientation
(String orientation) Sets the value ofCfnAnalysis.TableOptionsProperty.getOrientation()
rowAlternateColorOptions
(IResolvable rowAlternateColorOptions) Sets the value ofCfnAnalysis.TableOptionsProperty.getRowAlternateColorOptions()
rowAlternateColorOptions
(CfnAnalysis.RowAlternateColorOptionsProperty rowAlternateColorOptions) Sets the value ofCfnAnalysis.TableOptionsProperty.getRowAlternateColorOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cellStyle
Sets the value ofCfnAnalysis.TableOptionsProperty.getCellStyle()
- Parameters:
cellStyle
- The table cell style of table cells.- Returns:
this
-
cellStyle
@Stability(Stable) public CfnAnalysis.TableOptionsProperty.Builder cellStyle(CfnAnalysis.TableCellStyleProperty cellStyle) Sets the value ofCfnAnalysis.TableOptionsProperty.getCellStyle()
- Parameters:
cellStyle
- The table cell style of table cells.- Returns:
this
-
headerStyle
@Stability(Stable) public CfnAnalysis.TableOptionsProperty.Builder headerStyle(IResolvable headerStyle) Sets the value ofCfnAnalysis.TableOptionsProperty.getHeaderStyle()
- Parameters:
headerStyle
- The table cell style of a table header.- Returns:
this
-
headerStyle
@Stability(Stable) public CfnAnalysis.TableOptionsProperty.Builder headerStyle(CfnAnalysis.TableCellStyleProperty headerStyle) Sets the value ofCfnAnalysis.TableOptionsProperty.getHeaderStyle()
- Parameters:
headerStyle
- The table cell style of a table header.- Returns:
this
-
orientation
Sets the value ofCfnAnalysis.TableOptionsProperty.getOrientation()
- Parameters:
orientation
- The orientation (vertical, horizontal) for a table.- Returns:
this
-
rowAlternateColorOptions
@Stability(Stable) public CfnAnalysis.TableOptionsProperty.Builder rowAlternateColorOptions(IResolvable rowAlternateColorOptions) Sets the value ofCfnAnalysis.TableOptionsProperty.getRowAlternateColorOptions()
- Parameters:
rowAlternateColorOptions
- The row alternate color options (widget status, row alternate colors) for a table.- Returns:
this
-
rowAlternateColorOptions
@Stability(Stable) public CfnAnalysis.TableOptionsProperty.Builder rowAlternateColorOptions(CfnAnalysis.RowAlternateColorOptionsProperty rowAlternateColorOptions) Sets the value ofCfnAnalysis.TableOptionsProperty.getRowAlternateColorOptions()
- Parameters:
rowAlternateColorOptions
- The row alternate color options (widget status, row alternate colors) for a table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.TableOptionsProperty>
- Returns:
- a new instance of
CfnAnalysis.TableOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-