Class CfnDashboard.PivotFieldSortOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.PivotFieldSortOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.PivotFieldSortOptionsProperty>
- Enclosing interface:
CfnDashboard.PivotFieldSortOptionsProperty
@Stability(Stable)
public static final class CfnDashboard.PivotFieldSortOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.PivotFieldSortOptionsProperty>
A builder for
CfnDashboard.PivotFieldSortOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDashboard.PivotFieldSortOptionsProperty.getFieldId()sortBy(IResolvable sortBy) Sets the value ofCfnDashboard.PivotFieldSortOptionsProperty.getSortBy()Sets the value ofCfnDashboard.PivotFieldSortOptionsProperty.getSortBy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldId
@Stability(Stable) public CfnDashboard.PivotFieldSortOptionsProperty.Builder fieldId(String fieldId) Sets the value ofCfnDashboard.PivotFieldSortOptionsProperty.getFieldId()- Parameters:
fieldId- The field ID for the field sort options. This parameter is required.- Returns:
this
-
sortBy
@Stability(Stable) public CfnDashboard.PivotFieldSortOptionsProperty.Builder sortBy(IResolvable sortBy) Sets the value ofCfnDashboard.PivotFieldSortOptionsProperty.getSortBy()- Parameters:
sortBy- The sort by field for the field sort options. This parameter is required.- Returns:
this
-
sortBy
@Stability(Stable) public CfnDashboard.PivotFieldSortOptionsProperty.Builder sortBy(CfnDashboard.PivotTableSortByProperty sortBy) Sets the value ofCfnDashboard.PivotFieldSortOptionsProperty.getSortBy()- Parameters:
sortBy- The sort by field for the field sort options. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.PivotFieldSortOptionsProperty>- Returns:
- a new instance of
CfnDashboard.PivotFieldSortOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-