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
Constructors -
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()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()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()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
-
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
-
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
-
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:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.PivotTableOptionsProperty>- Returns:
- a new instance of
CfnAnalysis.PivotTableOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-