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