Class CfnTemplate.FieldSortProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.FieldSortProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.FieldSortProperty>
- Enclosing interface:
CfnTemplate.FieldSortProperty
@Stability(Stable)
public static final class CfnTemplate.FieldSortProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.FieldSortProperty>
A builder for
CfnTemplate.FieldSortProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTemplate.FieldSortProperty.getDirection()
Sets the value ofCfnTemplate.FieldSortProperty.getFieldId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
direction
Sets the value ofCfnTemplate.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 ofCfnTemplate.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<CfnTemplate.FieldSortProperty>
- Returns:
- a new instance of
CfnTemplate.FieldSortProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-