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