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