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