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