public static final class DonutSection.Builder
extends java.lang.Object
DonutSection
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
DonutSection . |
Modifier and Type | Method and Description |
---|---|
DonutSection |
build() |
DonutSection.Builder |
setParts(java.util.List<DonutPart> parts)
Array of portions or parts of the donut or stats chart.
|
DonutSection.Builder |
setRowListField(java.lang.String rowListField)
Field of the root of the api result set for forming parts.
|
DonutSection.Builder |
setTemplate(java.lang.Boolean template)
If true, the section will be appled as template for forming parts.
|
public Builder()
DonutSection
.public DonutSection.Builder setParts(java.util.List<DonutPart> parts)
parts
- New value for the property.public DonutSection.Builder setRowListField(java.lang.String rowListField)
rowListField
- New value for the property.public DonutSection.Builder setTemplate(java.lang.Boolean template)
template
- New value for the property.public DonutSection build()