Class CfnAnalysis.FieldSortProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.FieldSortProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.FieldSortProperty>
- Enclosing interface:
CfnAnalysis.FieldSortProperty
@Stability(Stable)
public static final class CfnAnalysis.FieldSortProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.FieldSortProperty>
A builder for
CfnAnalysis.FieldSortProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAnalysis.FieldSortProperty.getDirection()
Sets the value ofCfnAnalysis.FieldSortProperty.getFieldId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
direction
Sets the value ofCfnAnalysis.FieldSortProperty.getDirection()
- Parameters:
direction
- The sort direction. Choose one of the following options:. This parameter is required.ASC
: AscendingDESC
: Descending
- Returns:
this
-
fieldId
Sets the value ofCfnAnalysis.FieldSortProperty.getFieldId()
- Parameters:
fieldId
- The sort configuration target field. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.FieldSortProperty>
- Returns:
- a new instance of
CfnAnalysis.FieldSortProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-