Class CfnTemplate.PieChartAggregatedFieldWellsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.PieChartAggregatedFieldWellsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.PieChartAggregatedFieldWellsProperty>
- Enclosing interface:
CfnTemplate.PieChartAggregatedFieldWellsProperty
@Stability(Stable)
public static final class CfnTemplate.PieChartAggregatedFieldWellsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.PieChartAggregatedFieldWellsProperty>
A builder for
CfnTemplate.PieChartAggregatedFieldWellsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getCategory()
category
(IResolvable category) Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getCategory()
smallMultiples
(List<? extends Object> smallMultiples) Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getSmallMultiples()
smallMultiples
(IResolvable smallMultiples) Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getSmallMultiples()
Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getValues()
values
(IResolvable values) Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
category
@Stability(Stable) public CfnTemplate.PieChartAggregatedFieldWellsProperty.Builder category(IResolvable category) Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getCategory()
- Parameters:
category
- The category (group/color) field wells of a pie chart.- Returns:
this
-
category
@Stability(Stable) public CfnTemplate.PieChartAggregatedFieldWellsProperty.Builder category(List<? extends Object> category) Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getCategory()
- Parameters:
category
- The category (group/color) field wells of a pie chart.- Returns:
this
-
smallMultiples
@Stability(Stable) public CfnTemplate.PieChartAggregatedFieldWellsProperty.Builder smallMultiples(IResolvable smallMultiples) Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getSmallMultiples()
- Parameters:
smallMultiples
- The small multiples field well of a pie chart.- Returns:
this
-
smallMultiples
@Stability(Stable) public CfnTemplate.PieChartAggregatedFieldWellsProperty.Builder smallMultiples(List<? extends Object> smallMultiples) Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getSmallMultiples()
- Parameters:
smallMultiples
- The small multiples field well of a pie chart.- Returns:
this
-
values
@Stability(Stable) public CfnTemplate.PieChartAggregatedFieldWellsProperty.Builder values(IResolvable values) Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getValues()
- Parameters:
values
- The value field wells of a pie chart. Values are aggregated based on categories.- Returns:
this
-
values
@Stability(Stable) public CfnTemplate.PieChartAggregatedFieldWellsProperty.Builder values(List<? extends Object> values) Sets the value ofCfnTemplate.PieChartAggregatedFieldWellsProperty.getValues()
- Parameters:
values
- The value field wells of a pie chart. Values are aggregated based on categories.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.PieChartAggregatedFieldWellsProperty>
- Returns:
- a new instance of
CfnTemplate.PieChartAggregatedFieldWellsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-