Package com.vmware.nsx_policy.model
Class DonutSection.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DonutSection.Builder
-
- Enclosing class:
- DonutSection
public static final class DonutSection.Builder extends java.lang.ObjectBuilder class forDonutSection.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofDonutSection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DonutSectionbuild()DonutSection.BuildersetParts(java.util.List<DonutPart> parts)Array of portions or parts of the donut or stats chart.DonutSection.BuildersetRowListField(java.lang.String rowListField)Field of the root of the api result set for forming parts.DonutSection.BuildersetTemplate(java.lang.Boolean template)If true, the section will be appled as template for forming parts.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDonutSection.
-
-
Method Detail
-
setParts
public DonutSection.Builder setParts(java.util.List<DonutPart> parts)
Array of portions or parts of the donut or stats chart.- Parameters:
parts- New value for the property.
-
setRowListField
public DonutSection.Builder setRowListField(java.lang.String rowListField)
Field of the root of the api result set for forming parts.- Parameters:
rowListField- New value for the property.
-
setTemplate
public DonutSection.Builder setTemplate(java.lang.Boolean template)
If true, the section will be appled as template for forming parts. Only one part will be formed from each element of 'row_list_field'.- Parameters:
template- New value for the property.
-
build
public DonutSection build()
-
-