Class CfnDashboard.PivotTableSortByProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableSortByProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.PivotTableSortByProperty>
- Enclosing interface:
CfnDashboard.PivotTableSortByProperty
@Stability(Stable)
public static final class CfnDashboard.PivotTableSortByProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.PivotTableSortByProperty>
A builder for
CfnDashboard.PivotTableSortByProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.column(IResolvable column) Sets the value ofCfnDashboard.PivotTableSortByProperty.getColumn()Sets the value ofCfnDashboard.PivotTableSortByProperty.getColumn()dataPath(IResolvable dataPath) Sets the value ofCfnDashboard.PivotTableSortByProperty.getDataPath()dataPath(CfnDashboard.DataPathSortProperty dataPath) Sets the value ofCfnDashboard.PivotTableSortByProperty.getDataPath()field(IResolvable field) Sets the value ofCfnDashboard.PivotTableSortByProperty.getField()Sets the value ofCfnDashboard.PivotTableSortByProperty.getField()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
column
Sets the value ofCfnDashboard.PivotTableSortByProperty.getColumn()- Parameters:
column- The column sort (field id, direction) for the pivot table sort by options.- Returns:
this
-
column
@Stability(Stable) public CfnDashboard.PivotTableSortByProperty.Builder column(CfnDashboard.ColumnSortProperty column) Sets the value ofCfnDashboard.PivotTableSortByProperty.getColumn()- Parameters:
column- The column sort (field id, direction) for the pivot table sort by options.- Returns:
this
-
dataPath
@Stability(Stable) public CfnDashboard.PivotTableSortByProperty.Builder dataPath(IResolvable dataPath) Sets the value ofCfnDashboard.PivotTableSortByProperty.getDataPath()- Parameters:
dataPath- The data path sort (data path value, direction) for the pivot table sort by options.- Returns:
this
-
dataPath
@Stability(Stable) public CfnDashboard.PivotTableSortByProperty.Builder dataPath(CfnDashboard.DataPathSortProperty dataPath) Sets the value ofCfnDashboard.PivotTableSortByProperty.getDataPath()- Parameters:
dataPath- The data path sort (data path value, direction) for the pivot table sort by options.- Returns:
this
-
field
Sets the value ofCfnDashboard.PivotTableSortByProperty.getField()- Parameters:
field- The field sort (field id, direction) for the pivot table sort by options.- Returns:
this
-
field
@Stability(Stable) public CfnDashboard.PivotTableSortByProperty.Builder field(CfnDashboard.FieldSortProperty field) Sets the value ofCfnDashboard.PivotTableSortByProperty.getField()- Parameters:
field- The field sort (field id, direction) for the pivot table sort by options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.PivotTableSortByProperty>- Returns:
- a new instance of
CfnDashboard.PivotTableSortByProperty - Throws:
NullPointerException- if any required attribute was not provided
-