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