Class CfnTemplate.TransposedTableOptionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.TransposedTableOptionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.TransposedTableOptionProperty>
- Enclosing interface:
CfnTemplate.TransposedTableOptionProperty
@Stability(Stable)
public static final class CfnTemplate.TransposedTableOptionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.TransposedTableOptionProperty>
A builder for
CfnTemplate.TransposedTableOptionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.columnIndex(Number columnIndex) Sets the value ofCfnTemplate.TransposedTableOptionProperty.getColumnIndex()columnType(String columnType) Sets the value ofCfnTemplate.TransposedTableOptionProperty.getColumnType()columnWidth(String columnWidth) Sets the value ofCfnTemplate.TransposedTableOptionProperty.getColumnWidth()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnType
@Stability(Stable) public CfnTemplate.TransposedTableOptionProperty.Builder columnType(String columnType) Sets the value ofCfnTemplate.TransposedTableOptionProperty.getColumnType()- Parameters:
columnType- The column type of the column in a transposed table. Choose one of the following options:. This parameter is required.ROW_HEADER_COLUMN: Refers to the leftmost column of the row header in the transposed table.VALUE_COLUMN: Refers to all value columns in the transposed table.
- Returns:
this
-
columnIndex
@Stability(Stable) public CfnTemplate.TransposedTableOptionProperty.Builder columnIndex(Number columnIndex) Sets the value ofCfnTemplate.TransposedTableOptionProperty.getColumnIndex()- Parameters:
columnIndex- The index of a columns in a transposed table. The index range is 0-9999.- Returns:
this
-
columnWidth
@Stability(Stable) public CfnTemplate.TransposedTableOptionProperty.Builder columnWidth(String columnWidth) Sets the value ofCfnTemplate.TransposedTableOptionProperty.getColumnWidth()- Parameters:
columnWidth- The width of a column in a transposed table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.TransposedTableOptionProperty>- Returns:
- a new instance of
CfnTemplate.TransposedTableOptionProperty - Throws:
NullPointerException- if any required attribute was not provided
-