Package com.vmware.nsx_policy.model
Class AxisUnit.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AxisUnit.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AxisUnit
build()
AxisUnit.Builder
setCondition(java.lang.String condition)
If the condition is met then the above unit will be displayed.AxisUnit.Builder
setUnit(java.lang.String unit)
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAxisUnit
.
-
-
Method Detail
-
setCondition
public AxisUnit.Builder setCondition(java.lang.String condition)
If the condition is met then the above unit will be displayed. to UI. If no condition is provided, then the unit will be displayed unconditionally.- Parameters:
condition
- New value for the property.
-
setUnit
public AxisUnit.Builder setUnit(java.lang.String unit)
Possible values are: An Axis unit.- Parameters:
unit
- New value for the property.
-
build
public AxisUnit build()
-
-