Class CfnDashboard.FieldSortOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.FieldSortOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.FieldSortOptionsProperty>
- Enclosing interface:
CfnDashboard.FieldSortOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.FieldSortOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.FieldSortOptionsProperty>
A builder for
CfnDashboard.FieldSortOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.columnSort
(IResolvable columnSort) Sets the value ofCfnDashboard.FieldSortOptionsProperty.getColumnSort()
columnSort
(CfnDashboard.ColumnSortProperty columnSort) Sets the value ofCfnDashboard.FieldSortOptionsProperty.getColumnSort()
fieldSort
(IResolvable fieldSort) Sets the value ofCfnDashboard.FieldSortOptionsProperty.getFieldSort()
fieldSort
(CfnDashboard.FieldSortProperty fieldSort) Sets the value ofCfnDashboard.FieldSortOptionsProperty.getFieldSort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columnSort
@Stability(Stable) public CfnDashboard.FieldSortOptionsProperty.Builder columnSort(IResolvable columnSort) Sets the value ofCfnDashboard.FieldSortOptionsProperty.getColumnSort()
- Parameters:
columnSort
- The sort configuration for a column that is not used in a field well.- Returns:
this
-
columnSort
@Stability(Stable) public CfnDashboard.FieldSortOptionsProperty.Builder columnSort(CfnDashboard.ColumnSortProperty columnSort) Sets the value ofCfnDashboard.FieldSortOptionsProperty.getColumnSort()
- Parameters:
columnSort
- The sort configuration for a column that is not used in a field well.- Returns:
this
-
fieldSort
@Stability(Stable) public CfnDashboard.FieldSortOptionsProperty.Builder fieldSort(IResolvable fieldSort) Sets the value ofCfnDashboard.FieldSortOptionsProperty.getFieldSort()
- Parameters:
fieldSort
- The sort configuration for a field in a field well.- Returns:
this
-
fieldSort
@Stability(Stable) public CfnDashboard.FieldSortOptionsProperty.Builder fieldSort(CfnDashboard.FieldSortProperty fieldSort) Sets the value ofCfnDashboard.FieldSortOptionsProperty.getFieldSort()
- Parameters:
fieldSort
- The sort configuration for a field in a field well.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.FieldSortOptionsProperty>
- Returns:
- a new instance of
CfnDashboard.FieldSortOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-