Class CfnAnalysis.PieChartSortConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.PieChartSortConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.PieChartSortConfigurationProperty>
- Enclosing interface:
CfnAnalysis.PieChartSortConfigurationProperty
@Stability(Stable)
public static final class CfnAnalysis.PieChartSortConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.PieChartSortConfigurationProperty>
A builder for
CfnAnalysis.PieChartSortConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.categoryItemsLimit(IResolvable categoryItemsLimit) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getCategoryItemsLimit()categoryItemsLimit(CfnAnalysis.ItemsLimitConfigurationProperty categoryItemsLimit) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getCategoryItemsLimit()categorySort(List<? extends Object> categorySort) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getCategorySort()categorySort(IResolvable categorySort) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getCategorySort()smallMultiplesLimitConfiguration(IResolvable smallMultiplesLimitConfiguration) smallMultiplesLimitConfiguration(CfnAnalysis.ItemsLimitConfigurationProperty smallMultiplesLimitConfiguration) smallMultiplesSort(List<? extends Object> smallMultiplesSort) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getSmallMultiplesSort()smallMultiplesSort(IResolvable smallMultiplesSort) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getSmallMultiplesSort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
categoryItemsLimit
@Stability(Stable) public CfnAnalysis.PieChartSortConfigurationProperty.Builder categoryItemsLimit(IResolvable categoryItemsLimit) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getCategoryItemsLimit()- Parameters:
categoryItemsLimit- The limit on the number of categories that are displayed in a pie chart.- Returns:
this
-
categoryItemsLimit
@Stability(Stable) public CfnAnalysis.PieChartSortConfigurationProperty.Builder categoryItemsLimit(CfnAnalysis.ItemsLimitConfigurationProperty categoryItemsLimit) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getCategoryItemsLimit()- Parameters:
categoryItemsLimit- The limit on the number of categories that are displayed in a pie chart.- Returns:
this
-
categorySort
@Stability(Stable) public CfnAnalysis.PieChartSortConfigurationProperty.Builder categorySort(IResolvable categorySort) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getCategorySort()- Parameters:
categorySort- The sort configuration of the category fields.- Returns:
this
-
categorySort
@Stability(Stable) public CfnAnalysis.PieChartSortConfigurationProperty.Builder categorySort(List<? extends Object> categorySort) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getCategorySort()- Parameters:
categorySort- The sort configuration of the category fields.- Returns:
this
-
smallMultiplesLimitConfiguration
@Stability(Stable) public CfnAnalysis.PieChartSortConfigurationProperty.Builder smallMultiplesLimitConfiguration(IResolvable smallMultiplesLimitConfiguration) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getSmallMultiplesLimitConfiguration()- Parameters:
smallMultiplesLimitConfiguration- The limit on the number of small multiples panels that are displayed.- Returns:
this
-
smallMultiplesLimitConfiguration
@Stability(Stable) public CfnAnalysis.PieChartSortConfigurationProperty.Builder smallMultiplesLimitConfiguration(CfnAnalysis.ItemsLimitConfigurationProperty smallMultiplesLimitConfiguration) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getSmallMultiplesLimitConfiguration()- Parameters:
smallMultiplesLimitConfiguration- The limit on the number of small multiples panels that are displayed.- Returns:
this
-
smallMultiplesSort
@Stability(Stable) public CfnAnalysis.PieChartSortConfigurationProperty.Builder smallMultiplesSort(IResolvable smallMultiplesSort) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getSmallMultiplesSort()- Parameters:
smallMultiplesSort- The sort configuration of the small multiples field.- Returns:
this
-
smallMultiplesSort
@Stability(Stable) public CfnAnalysis.PieChartSortConfigurationProperty.Builder smallMultiplesSort(List<? extends Object> smallMultiplesSort) Sets the value ofCfnAnalysis.PieChartSortConfigurationProperty.getSmallMultiplesSort()- Parameters:
smallMultiplesSort- The sort configuration of the small multiples field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.PieChartSortConfigurationProperty>- Returns:
- a new instance of
CfnAnalysis.PieChartSortConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-