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