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