Class CfnDashboard.SankeyDiagramSortConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.SankeyDiagramSortConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.SankeyDiagramSortConfigurationProperty>
- Enclosing interface:
CfnDashboard.SankeyDiagramSortConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.SankeyDiagramSortConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.SankeyDiagramSortConfigurationProperty>
A builder for
CfnDashboard.SankeyDiagramSortConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationItemsLimit
(IResolvable destinationItemsLimit) destinationItemsLimit
(CfnDashboard.ItemsLimitConfigurationProperty destinationItemsLimit) sourceItemsLimit
(IResolvable sourceItemsLimit) sourceItemsLimit
(CfnDashboard.ItemsLimitConfigurationProperty sourceItemsLimit) weightSort
(List<? extends Object> weightSort) Sets the value ofCfnDashboard.SankeyDiagramSortConfigurationProperty.getWeightSort()
weightSort
(IResolvable weightSort) Sets the value ofCfnDashboard.SankeyDiagramSortConfigurationProperty.getWeightSort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationItemsLimit
@Stability(Stable) public CfnDashboard.SankeyDiagramSortConfigurationProperty.Builder destinationItemsLimit(IResolvable destinationItemsLimit) - Parameters:
destinationItemsLimit
- The limit on the number of destination nodes that are displayed in a sankey diagram.- Returns:
this
-
destinationItemsLimit
@Stability(Stable) public CfnDashboard.SankeyDiagramSortConfigurationProperty.Builder destinationItemsLimit(CfnDashboard.ItemsLimitConfigurationProperty destinationItemsLimit) - Parameters:
destinationItemsLimit
- The limit on the number of destination nodes that are displayed in a sankey diagram.- Returns:
this
-
sourceItemsLimit
@Stability(Stable) public CfnDashboard.SankeyDiagramSortConfigurationProperty.Builder sourceItemsLimit(IResolvable sourceItemsLimit) - Parameters:
sourceItemsLimit
- The limit on the number of source nodes that are displayed in a sankey diagram.- Returns:
this
-
sourceItemsLimit
@Stability(Stable) public CfnDashboard.SankeyDiagramSortConfigurationProperty.Builder sourceItemsLimit(CfnDashboard.ItemsLimitConfigurationProperty sourceItemsLimit) - Parameters:
sourceItemsLimit
- The limit on the number of source nodes that are displayed in a sankey diagram.- Returns:
this
-
weightSort
@Stability(Stable) public CfnDashboard.SankeyDiagramSortConfigurationProperty.Builder weightSort(IResolvable weightSort) Sets the value ofCfnDashboard.SankeyDiagramSortConfigurationProperty.getWeightSort()
- Parameters:
weightSort
- The sort configuration of the weight fields.- Returns:
this
-
weightSort
@Stability(Stable) public CfnDashboard.SankeyDiagramSortConfigurationProperty.Builder weightSort(List<? extends Object> weightSort) Sets the value ofCfnDashboard.SankeyDiagramSortConfigurationProperty.getWeightSort()
- Parameters:
weightSort
- The sort configuration of the weight fields.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.SankeyDiagramSortConfigurationProperty>
- Returns:
- a new instance of
CfnDashboard.SankeyDiagramSortConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-