Class CfnTemplate.DataPathSortProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.DataPathSortProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.DataPathSortProperty>
- Enclosing interface:
CfnTemplate.DataPathSortProperty
@Stability(Stable)
public static final class CfnTemplate.DataPathSortProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.DataPathSortProperty>
A builder for
CfnTemplate.DataPathSortProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplate.DataPathSortProperty.getDirection()Sets the value ofCfnTemplate.DataPathSortProperty.getSortPaths()sortPaths(IResolvable sortPaths) Sets the value ofCfnTemplate.DataPathSortProperty.getSortPaths()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
direction
Sets the value ofCfnTemplate.DataPathSortProperty.getDirection()- Parameters:
direction- Determines the sort direction. This parameter is required.- Returns:
this
-
sortPaths
Sets the value ofCfnTemplate.DataPathSortProperty.getSortPaths()- Parameters:
sortPaths- The list of data paths that need to be sorted. This parameter is required.- Returns:
this
-
sortPaths
@Stability(Stable) public CfnTemplate.DataPathSortProperty.Builder sortPaths(List<? extends Object> sortPaths) Sets the value ofCfnTemplate.DataPathSortProperty.getSortPaths()- Parameters:
sortPaths- The list of data paths that need to be sorted. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.DataPathSortProperty>- Returns:
- a new instance of
CfnTemplate.DataPathSortProperty - Throws:
NullPointerException- if any required attribute was not provided
-