Package com.vmware.nsx_policy.model
Class StatItem.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.StatItem.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatItem
build()
StatItem.Builder
setDrilldownId(java.lang.String drilldownId)
Id of drilldown widget, if any.StatItem.Builder
setTooltip(java.util.List<Tooltip> tooltip)
Multi-line text to be shown on tooltip while hovering over the stat.StatItem.Builder
setTotal(java.lang.String total)
If expression for total is specified, it evaluates it.StatItem.Builder
setValue(java.lang.String value)
Expression for stat to be displayed.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofStatItem
.
-
-
Method Detail
-
setDrilldownId
public StatItem.Builder setDrilldownId(java.lang.String drilldownId)
Id of drilldown widget, if any. Id should be a valid id of an existing widget.- Parameters:
drilldownId
- New value for the property.
-
setTooltip
public StatItem.Builder setTooltip(java.util.List<Tooltip> tooltip)
Multi-line text to be shown on tooltip while hovering over the stat.- Parameters:
tooltip
- New value for the property.
-
setTotal
public StatItem.Builder setTotal(java.lang.String total)
If expression for total is specified, it evaluates it. Total can be omitted if not needed to be shown.- Parameters:
total
- New value for the property.
-
setValue
public StatItem.Builder setValue(java.lang.String value)
Expression for stat to be displayed.- Parameters:
value
- New value for the property.
-
build
public StatItem build()
-
-