Package com.vmware.nsx_policy.model
Class GraphDefinition.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.GraphDefinition.Builder
-
- Enclosing class:
- GraphDefinition
public static final class GraphDefinition.Builder extends java.lang.ObjectBuilder class forGraphDefinition.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofGraphDefinition.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphDefinitionbuild()GraphDefinition.BuildersetId(java.lang.String id)Identifier of graph.GraphDefinition.BuildersetLabel(Label label)GraphDefinition.BuildersetPointDefinition(PointDefinition pointDefinition)GraphDefinition.BuildersetRenderConfiguration(java.util.List<RenderConfiguration> renderConfiguration)Additional rendering or conditional evaluation of the field values to be performed, if any.GraphDefinition.BuildersetRowListField(java.lang.String rowListField)An expression that represents the series of the graph
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofGraphDefinition.
-
-
Method Detail
-
setId
public GraphDefinition.Builder setId(java.lang.String id)
Identifier of graph. It can be used to differentiate multiple graph series present in GraphWidgetConfiguration.- Parameters:
id- New value for the property.
-
setLabel
public GraphDefinition.Builder setLabel(Label label)
- Parameters:
label- New value for the property.
-
setPointDefinition
public GraphDefinition.Builder setPointDefinition(PointDefinition pointDefinition)
- Parameters:
pointDefinition- New value for the property.
-
setRenderConfiguration
public GraphDefinition.Builder setRenderConfiguration(java.util.List<RenderConfiguration> renderConfiguration)
Additional rendering or conditional evaluation of the field values to be performed, if any.- Parameters:
renderConfiguration- New value for the property.
-
setRowListField
public GraphDefinition.Builder setRowListField(java.lang.String rowListField)
An expression that represents the series of the graph- Parameters:
rowListField- New value for the property.
-
build
public GraphDefinition build()
-
-