Class CfnTemplate.PivotTableOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.PivotTableOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.PivotTableOptionsProperty>
- Enclosing interface:
- CfnTemplate.PivotTableOptionsProperty
@Stability(Stable)
public static final class CfnTemplate.PivotTableOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.PivotTableOptionsProperty>
A builder for
CfnTemplate.PivotTableOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cellStyle(IResolvable cellStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getCellStyle()cellStyle(CfnTemplate.TableCellStyleProperty cellStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getCellStyle()columnHeaderStyle(IResolvable columnHeaderStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getColumnHeaderStyle()columnHeaderStyle(CfnTemplate.TableCellStyleProperty columnHeaderStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getColumnHeaderStyle()columnNamesVisibility(String columnNamesVisibility) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getColumnNamesVisibility()metricPlacement(String metricPlacement) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getMetricPlacement()rowAlternateColorOptions(IResolvable rowAlternateColorOptions) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowAlternateColorOptions()rowAlternateColorOptions(CfnTemplate.RowAlternateColorOptionsProperty rowAlternateColorOptions) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowAlternateColorOptions()rowFieldNamesStyle(IResolvable rowFieldNamesStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowFieldNamesStyle()rowFieldNamesStyle(CfnTemplate.TableCellStyleProperty rowFieldNamesStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowFieldNamesStyle()rowHeaderStyle(IResolvable rowHeaderStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowHeaderStyle()rowHeaderStyle(CfnTemplate.TableCellStyleProperty rowHeaderStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowHeaderStyle()singleMetricVisibility(String singleMetricVisibility) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getSingleMetricVisibility()toggleButtonsVisibility(String toggleButtonsVisibility) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getToggleButtonsVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cellStyle
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder cellStyle(IResolvable cellStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getCellStyle()- Parameters:
cellStyle- The table cell style of cells.- Returns:
this
-
cellStyle
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder cellStyle(CfnTemplate.TableCellStyleProperty cellStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getCellStyle()- Parameters:
cellStyle- The table cell style of cells.- Returns:
this
-
columnHeaderStyle
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder columnHeaderStyle(IResolvable columnHeaderStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getColumnHeaderStyle()- Parameters:
columnHeaderStyle- The table cell style of the column header.- Returns:
this
-
columnHeaderStyle
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder columnHeaderStyle(CfnTemplate.TableCellStyleProperty columnHeaderStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getColumnHeaderStyle()- Parameters:
columnHeaderStyle- The table cell style of the column header.- Returns:
this
-
columnNamesVisibility
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder columnNamesVisibility(String columnNamesVisibility) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getColumnNamesVisibility()- Parameters:
columnNamesVisibility- The visibility of the column names.- Returns:
this
-
metricPlacement
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder metricPlacement(String metricPlacement) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getMetricPlacement()- Parameters:
metricPlacement- The metric placement (row, column) options.- Returns:
this
-
rowAlternateColorOptions
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder rowAlternateColorOptions(IResolvable rowAlternateColorOptions) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowAlternateColorOptions()- Parameters:
rowAlternateColorOptions- The row alternate color options (widget status, row alternate colors).- Returns:
this
-
rowAlternateColorOptions
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder rowAlternateColorOptions(CfnTemplate.RowAlternateColorOptionsProperty rowAlternateColorOptions) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowAlternateColorOptions()- Parameters:
rowAlternateColorOptions- The row alternate color options (widget status, row alternate colors).- Returns:
this
-
rowFieldNamesStyle
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder rowFieldNamesStyle(IResolvable rowFieldNamesStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowFieldNamesStyle()- Parameters:
rowFieldNamesStyle- The table cell style of row field names.- Returns:
this
-
rowFieldNamesStyle
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder rowFieldNamesStyle(CfnTemplate.TableCellStyleProperty rowFieldNamesStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowFieldNamesStyle()- Parameters:
rowFieldNamesStyle- The table cell style of row field names.- Returns:
this
-
rowHeaderStyle
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder rowHeaderStyle(IResolvable rowHeaderStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowHeaderStyle()- Parameters:
rowHeaderStyle- The table cell style of the row headers.- Returns:
this
-
rowHeaderStyle
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder rowHeaderStyle(CfnTemplate.TableCellStyleProperty rowHeaderStyle) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getRowHeaderStyle()- Parameters:
rowHeaderStyle- The table cell style of the row headers.- Returns:
this
-
singleMetricVisibility
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder singleMetricVisibility(String singleMetricVisibility) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getSingleMetricVisibility()- Parameters:
singleMetricVisibility- The visibility of the single metric options.- Returns:
this
-
toggleButtonsVisibility
@Stability(Stable) public CfnTemplate.PivotTableOptionsProperty.Builder toggleButtonsVisibility(String toggleButtonsVisibility) Sets the value ofCfnTemplate.PivotTableOptionsProperty.getToggleButtonsVisibility()- Parameters:
toggleButtonsVisibility- Determines the visibility of the pivot table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.PivotTableOptionsProperty>- Returns:
- a new instance of
CfnTemplate.PivotTableOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-