Package com.vmware.nsx_policy.model
Class PointDefinition.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PointDefinition.Builder
-
- Enclosing class:
- PointDefinition
public static final class PointDefinition.Builder extends java.lang.Object
Builder class forPointDefinition
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPointDefinition
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointDefinition
build()
PointDefinition.Builder
setDrilldownId(java.lang.String drilldownId)
Id of drilldown widget, if any.PointDefinition.Builder
setField(java.lang.String field)
An expression that represents the points of the graphPointDefinition.Builder
setNavigation(java.lang.String navigation)
Hyperlink of the specified UI page that provides details.PointDefinition.Builder
setTooltip(java.util.List<Tooltip> tooltip)
Multi-line text to be shown on tooltip while hovering over the point of a graph.PointDefinition.Builder
setxValue(java.lang.String xValue)
Represents the variable for the X value of points that are plotted on the graph.PointDefinition.Builder
setyValue(java.lang.String yValue)
Represents the variable for the Y value of points that are plotted on the graph.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPointDefinition
.
-
-
Method Detail
-
setDrilldownId
public PointDefinition.Builder setDrilldownId(java.lang.String drilldownId)
Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget.- Parameters:
drilldownId
- New value for the property.
-
setField
public PointDefinition.Builder setField(java.lang.String field)
An expression that represents the points of the graph- Parameters:
field
- New value for the property.
-
setNavigation
public PointDefinition.Builder setNavigation(java.lang.String navigation)
Hyperlink of the specified UI page that provides details.- Parameters:
navigation
- New value for the property.
-
setTooltip
public PointDefinition.Builder setTooltip(java.util.List<Tooltip> tooltip)
Multi-line text to be shown on tooltip while hovering over the point of a graph.- Parameters:
tooltip
- New value for the property.
-
setxValue
public PointDefinition.Builder setxValue(java.lang.String xValue)
Represents the variable for the X value of points that are plotted on the graph.- Parameters:
xValue
- New value for the property.
-
setyValue
public PointDefinition.Builder setyValue(java.lang.String yValue)
Represents the variable for the Y value of points that are plotted on the graph.- Parameters:
yValue
- New value for the property.
-
build
public PointDefinition build()
-
-