Class CfnAnalysis.PivotTableOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.PivotTableOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.PivotTableOptionsProperty>
- Enclosing interface:
CfnAnalysis.PivotTableOptionsProperty
@Stability(Stable)
public static final class CfnAnalysis.PivotTableOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.PivotTableOptionsProperty>
A builder for
CfnAnalysis.PivotTableOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cellStyle
(IResolvable cellStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getCellStyle()
cellStyle
(CfnAnalysis.TableCellStyleProperty cellStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getCellStyle()
collapsedRowDimensionsVisibility
(String collapsedRowDimensionsVisibility) columnHeaderStyle
(IResolvable columnHeaderStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getColumnHeaderStyle()
columnHeaderStyle
(CfnAnalysis.TableCellStyleProperty columnHeaderStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getColumnHeaderStyle()
columnNamesVisibility
(String columnNamesVisibility) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getColumnNamesVisibility()
defaultCellWidth
(String defaultCellWidth) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getDefaultCellWidth()
metricPlacement
(String metricPlacement) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getMetricPlacement()
rowAlternateColorOptions
(IResolvable rowAlternateColorOptions) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowAlternateColorOptions()
rowAlternateColorOptions
(CfnAnalysis.RowAlternateColorOptionsProperty rowAlternateColorOptions) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowAlternateColorOptions()
rowFieldNamesStyle
(IResolvable rowFieldNamesStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowFieldNamesStyle()
rowFieldNamesStyle
(CfnAnalysis.TableCellStyleProperty rowFieldNamesStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowFieldNamesStyle()
rowHeaderStyle
(IResolvable rowHeaderStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowHeaderStyle()
rowHeaderStyle
(CfnAnalysis.TableCellStyleProperty rowHeaderStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowHeaderStyle()
rowsLabelOptions
(IResolvable rowsLabelOptions) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowsLabelOptions()
rowsLabelOptions
(CfnAnalysis.PivotTableRowsLabelOptionsProperty rowsLabelOptions) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowsLabelOptions()
rowsLayout
(String rowsLayout) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowsLayout()
singleMetricVisibility
(String singleMetricVisibility) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getSingleMetricVisibility()
toggleButtonsVisibility
(String toggleButtonsVisibility) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getToggleButtonsVisibility()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cellStyle
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder cellStyle(IResolvable cellStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getCellStyle()
- Parameters:
cellStyle
- The table cell style of cells.- Returns:
this
-
cellStyle
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder cellStyle(CfnAnalysis.TableCellStyleProperty cellStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getCellStyle()
- Parameters:
cellStyle
- The table cell style of cells.- Returns:
this
-
collapsedRowDimensionsVisibility
@Stability(Stable) public CfnAnalysis.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 CfnAnalysis.PivotTableOptionsProperty.Builder columnHeaderStyle(IResolvable columnHeaderStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getColumnHeaderStyle()
- Parameters:
columnHeaderStyle
- The table cell style of the column header.- Returns:
this
-
columnHeaderStyle
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder columnHeaderStyle(CfnAnalysis.TableCellStyleProperty columnHeaderStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getColumnHeaderStyle()
- Parameters:
columnHeaderStyle
- The table cell style of the column header.- Returns:
this
-
columnNamesVisibility
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder columnNamesVisibility(String columnNamesVisibility) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getColumnNamesVisibility()
- Parameters:
columnNamesVisibility
- The visibility of the column names.- Returns:
this
-
defaultCellWidth
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder defaultCellWidth(String defaultCellWidth) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getDefaultCellWidth()
- Parameters:
defaultCellWidth
- The default cell width of the pivot table.- Returns:
this
-
metricPlacement
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder metricPlacement(String metricPlacement) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getMetricPlacement()
- Parameters:
metricPlacement
- The metric placement (row, column) options.- Returns:
this
-
rowAlternateColorOptions
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder rowAlternateColorOptions(IResolvable rowAlternateColorOptions) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowAlternateColorOptions()
- Parameters:
rowAlternateColorOptions
- The row alternate color options (widget status, row alternate colors).- Returns:
this
-
rowAlternateColorOptions
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder rowAlternateColorOptions(CfnAnalysis.RowAlternateColorOptionsProperty rowAlternateColorOptions) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowAlternateColorOptions()
- Parameters:
rowAlternateColorOptions
- The row alternate color options (widget status, row alternate colors).- Returns:
this
-
rowFieldNamesStyle
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder rowFieldNamesStyle(IResolvable rowFieldNamesStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowFieldNamesStyle()
- Parameters:
rowFieldNamesStyle
- The table cell style of row field names.- Returns:
this
-
rowFieldNamesStyle
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder rowFieldNamesStyle(CfnAnalysis.TableCellStyleProperty rowFieldNamesStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowFieldNamesStyle()
- Parameters:
rowFieldNamesStyle
- The table cell style of row field names.- Returns:
this
-
rowHeaderStyle
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder rowHeaderStyle(IResolvable rowHeaderStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowHeaderStyle()
- Parameters:
rowHeaderStyle
- The table cell style of the row headers.- Returns:
this
-
rowHeaderStyle
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder rowHeaderStyle(CfnAnalysis.TableCellStyleProperty rowHeaderStyle) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowHeaderStyle()
- Parameters:
rowHeaderStyle
- The table cell style of the row headers.- Returns:
this
-
rowsLabelOptions
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder rowsLabelOptions(IResolvable rowsLabelOptions) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowsLabelOptions()
- Parameters:
rowsLabelOptions
- The options for the label that is located above the row headers. This option is only applicable whenRowsLayout
is set toHIERARCHY
.- Returns:
this
-
rowsLabelOptions
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder rowsLabelOptions(CfnAnalysis.PivotTableRowsLabelOptionsProperty rowsLabelOptions) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getRowsLabelOptions()
- Parameters:
rowsLabelOptions
- The options for the label that is located above the row headers. This option is only applicable whenRowsLayout
is set toHIERARCHY
.- Returns:
this
-
rowsLayout
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder rowsLayout(String rowsLayout) Sets the value ofCfnAnalysis.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 CfnAnalysis.PivotTableOptionsProperty.Builder singleMetricVisibility(String singleMetricVisibility) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getSingleMetricVisibility()
- Parameters:
singleMetricVisibility
- The visibility of the single metric options.- Returns:
this
-
toggleButtonsVisibility
@Stability(Stable) public CfnAnalysis.PivotTableOptionsProperty.Builder toggleButtonsVisibility(String toggleButtonsVisibility) Sets the value ofCfnAnalysis.PivotTableOptionsProperty.getToggleButtonsVisibility()
- Parameters:
toggleButtonsVisibility
- Determines the visibility of the pivot table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.PivotTableOptionsProperty>
- Returns:
- a new instance of
CfnAnalysis.PivotTableOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-