Class CfnDashboard.BarChartSortConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.BarChartSortConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.BarChartSortConfigurationProperty>
- Enclosing interface:
CfnDashboard.BarChartSortConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.BarChartSortConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.BarChartSortConfigurationProperty>
A builder for
CfnDashboard.BarChartSortConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.categoryItemsLimit
(IResolvable categoryItemsLimit) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getCategoryItemsLimit()
categoryItemsLimit
(CfnDashboard.ItemsLimitConfigurationProperty categoryItemsLimit) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getCategoryItemsLimit()
categorySort
(List<? extends Object> categorySort) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getCategorySort()
categorySort
(IResolvable categorySort) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getCategorySort()
colorItemsLimit
(IResolvable colorItemsLimit) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getColorItemsLimit()
colorItemsLimit
(CfnDashboard.ItemsLimitConfigurationProperty colorItemsLimit) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getColorItemsLimit()
Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getColorSort()
colorSort
(IResolvable colorSort) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getColorSort()
smallMultiplesLimitConfiguration
(IResolvable smallMultiplesLimitConfiguration) smallMultiplesLimitConfiguration
(CfnDashboard.ItemsLimitConfigurationProperty smallMultiplesLimitConfiguration) smallMultiplesSort
(List<? extends Object> smallMultiplesSort) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getSmallMultiplesSort()
smallMultiplesSort
(IResolvable smallMultiplesSort) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getSmallMultiplesSort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
categoryItemsLimit
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder categoryItemsLimit(IResolvable categoryItemsLimit) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getCategoryItemsLimit()
- Parameters:
categoryItemsLimit
- The limit on the number of categories displayed in a bar chart.- Returns:
this
-
categoryItemsLimit
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder categoryItemsLimit(CfnDashboard.ItemsLimitConfigurationProperty categoryItemsLimit) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getCategoryItemsLimit()
- Parameters:
categoryItemsLimit
- The limit on the number of categories displayed in a bar chart.- Returns:
this
-
categorySort
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder categorySort(IResolvable categorySort) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getCategorySort()
- Parameters:
categorySort
- The sort configuration of category fields.- Returns:
this
-
categorySort
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder categorySort(List<? extends Object> categorySort) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getCategorySort()
- Parameters:
categorySort
- The sort configuration of category fields.- Returns:
this
-
colorItemsLimit
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder colorItemsLimit(IResolvable colorItemsLimit) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getColorItemsLimit()
- Parameters:
colorItemsLimit
- The limit on the number of values displayed in a bar chart.- Returns:
this
-
colorItemsLimit
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder colorItemsLimit(CfnDashboard.ItemsLimitConfigurationProperty colorItemsLimit) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getColorItemsLimit()
- Parameters:
colorItemsLimit
- The limit on the number of values displayed in a bar chart.- Returns:
this
-
colorSort
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder colorSort(IResolvable colorSort) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getColorSort()
- Parameters:
colorSort
- The sort configuration of color fields in a bar chart.- Returns:
this
-
colorSort
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder colorSort(List<? extends Object> colorSort) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getColorSort()
- Parameters:
colorSort
- The sort configuration of color fields in a bar chart.- Returns:
this
-
smallMultiplesLimitConfiguration
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder smallMultiplesLimitConfiguration(IResolvable smallMultiplesLimitConfiguration) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getSmallMultiplesLimitConfiguration()
- Parameters:
smallMultiplesLimitConfiguration
- The limit on the number of small multiples panels that are displayed.- Returns:
this
-
smallMultiplesLimitConfiguration
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder smallMultiplesLimitConfiguration(CfnDashboard.ItemsLimitConfigurationProperty smallMultiplesLimitConfiguration) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getSmallMultiplesLimitConfiguration()
- Parameters:
smallMultiplesLimitConfiguration
- The limit on the number of small multiples panels that are displayed.- Returns:
this
-
smallMultiplesSort
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder smallMultiplesSort(IResolvable smallMultiplesSort) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.getSmallMultiplesSort()
- Parameters:
smallMultiplesSort
- The sort configuration of the small multiples field.- Returns:
this
-
smallMultiplesSort
@Stability(Stable) public CfnDashboard.BarChartSortConfigurationProperty.Builder smallMultiplesSort(List<? extends Object> smallMultiplesSort) Sets the value ofCfnDashboard.BarChartSortConfigurationProperty.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<CfnDashboard.BarChartSortConfigurationProperty>
- Returns:
- a new instance of
CfnDashboard.BarChartSortConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-