Class CfnDashboard.PivotTableOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.PivotTableOptionsProperty>
- Enclosing interface:
CfnDashboard.PivotTableOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.PivotTableOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.PivotTableOptionsProperty>
A builder for
CfnDashboard.PivotTableOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cellStyle(IResolvable cellStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getCellStyle()cellStyle(CfnDashboard.TableCellStyleProperty cellStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getCellStyle()collapsedRowDimensionsVisibility(String collapsedRowDimensionsVisibility) columnHeaderStyle(IResolvable columnHeaderStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getColumnHeaderStyle()columnHeaderStyle(CfnDashboard.TableCellStyleProperty columnHeaderStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getColumnHeaderStyle()columnNamesVisibility(String columnNamesVisibility) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getColumnNamesVisibility()defaultCellWidth(String defaultCellWidth) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getDefaultCellWidth()metricPlacement(String metricPlacement) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getMetricPlacement()rowAlternateColorOptions(IResolvable rowAlternateColorOptions) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowAlternateColorOptions()rowAlternateColorOptions(CfnDashboard.RowAlternateColorOptionsProperty rowAlternateColorOptions) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowAlternateColorOptions()rowFieldNamesStyle(IResolvable rowFieldNamesStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowFieldNamesStyle()rowFieldNamesStyle(CfnDashboard.TableCellStyleProperty rowFieldNamesStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowFieldNamesStyle()rowHeaderStyle(IResolvable rowHeaderStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowHeaderStyle()rowHeaderStyle(CfnDashboard.TableCellStyleProperty rowHeaderStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowHeaderStyle()rowsLabelOptions(IResolvable rowsLabelOptions) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowsLabelOptions()rowsLabelOptions(CfnDashboard.PivotTableRowsLabelOptionsProperty rowsLabelOptions) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowsLabelOptions()rowsLayout(String rowsLayout) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowsLayout()singleMetricVisibility(String singleMetricVisibility) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getSingleMetricVisibility()toggleButtonsVisibility(String toggleButtonsVisibility) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getToggleButtonsVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cellStyle
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder cellStyle(IResolvable cellStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getCellStyle()- Parameters:
cellStyle- The table cell style of cells.- Returns:
this
-
cellStyle
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder cellStyle(CfnDashboard.TableCellStyleProperty cellStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getCellStyle()- Parameters:
cellStyle- The table cell style of cells.- Returns:
this
-
collapsedRowDimensionsVisibility
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder collapsedRowDimensionsVisibility(String collapsedRowDimensionsVisibility) - Parameters:
collapsedRowDimensionsVisibility- The visibility setting of a pivot table's collapsed row dimension fields. If the value of this structure isHIDDEN, all collapsed columns in a pivot table are automatically hidden. The default value isVISIBLE.- Returns:
this
-
columnHeaderStyle
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder columnHeaderStyle(IResolvable columnHeaderStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getColumnHeaderStyle()- Parameters:
columnHeaderStyle- The table cell style of the column header.- Returns:
this
-
columnHeaderStyle
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder columnHeaderStyle(CfnDashboard.TableCellStyleProperty columnHeaderStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getColumnHeaderStyle()- Parameters:
columnHeaderStyle- The table cell style of the column header.- Returns:
this
-
columnNamesVisibility
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder columnNamesVisibility(String columnNamesVisibility) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getColumnNamesVisibility()- Parameters:
columnNamesVisibility- The visibility of the column names.- Returns:
this
-
defaultCellWidth
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder defaultCellWidth(String defaultCellWidth) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getDefaultCellWidth()- Parameters:
defaultCellWidth- The default cell width of the pivot table.- Returns:
this
-
metricPlacement
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder metricPlacement(String metricPlacement) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getMetricPlacement()- Parameters:
metricPlacement- The metric placement (row, column) options.- Returns:
this
-
rowAlternateColorOptions
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder rowAlternateColorOptions(IResolvable rowAlternateColorOptions) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowAlternateColorOptions()- Parameters:
rowAlternateColorOptions- The row alternate color options (widget status, row alternate colors).- Returns:
this
-
rowAlternateColorOptions
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder rowAlternateColorOptions(CfnDashboard.RowAlternateColorOptionsProperty rowAlternateColorOptions) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowAlternateColorOptions()- Parameters:
rowAlternateColorOptions- The row alternate color options (widget status, row alternate colors).- Returns:
this
-
rowFieldNamesStyle
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder rowFieldNamesStyle(IResolvable rowFieldNamesStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowFieldNamesStyle()- Parameters:
rowFieldNamesStyle- The table cell style of row field names.- Returns:
this
-
rowFieldNamesStyle
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder rowFieldNamesStyle(CfnDashboard.TableCellStyleProperty rowFieldNamesStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowFieldNamesStyle()- Parameters:
rowFieldNamesStyle- The table cell style of row field names.- Returns:
this
-
rowHeaderStyle
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder rowHeaderStyle(IResolvable rowHeaderStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowHeaderStyle()- Parameters:
rowHeaderStyle- The table cell style of the row headers.- Returns:
this
-
rowHeaderStyle
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder rowHeaderStyle(CfnDashboard.TableCellStyleProperty rowHeaderStyle) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowHeaderStyle()- Parameters:
rowHeaderStyle- The table cell style of the row headers.- Returns:
this
-
rowsLabelOptions
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder rowsLabelOptions(IResolvable rowsLabelOptions) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowsLabelOptions()- Parameters:
rowsLabelOptions- The options for the label that is located above the row headers. This option is only applicable whenRowsLayoutis set toHIERARCHY.- Returns:
this
-
rowsLabelOptions
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder rowsLabelOptions(CfnDashboard.PivotTableRowsLabelOptionsProperty rowsLabelOptions) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowsLabelOptions()- Parameters:
rowsLabelOptions- The options for the label that is located above the row headers. This option is only applicable whenRowsLayoutis set toHIERARCHY.- Returns:
this
-
rowsLayout
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder rowsLayout(String rowsLayout) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getRowsLayout()- Parameters:
rowsLayout- The layout for the row dimension headers of a pivot table. Choose one of the following options.TABULAR: (Default) Each row field is displayed in a separate column.HIERARCHY: All row fields are displayed in a single column. Indentation is used to differentiate row headers of different fields.
- Returns:
this
-
singleMetricVisibility
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder singleMetricVisibility(String singleMetricVisibility) Sets the value ofCfnDashboard.PivotTableOptionsProperty.getSingleMetricVisibility()- Parameters:
singleMetricVisibility- The visibility of the single metric options.- Returns:
this
-
toggleButtonsVisibility
@Stability(Stable) public CfnDashboard.PivotTableOptionsProperty.Builder toggleButtonsVisibility(String toggleButtonsVisibility) Sets the value ofCfnDashboard.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<CfnDashboard.PivotTableOptionsProperty>- Returns:
- a new instance of
CfnDashboard.PivotTableOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-