Package com.vmware.nsx_policy.model
Class HostVnic.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.HostVnic.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostVnicbuild()HostVnic.BuildersetNumVnics(java.lang.Long numVnics)Number of VNICs in the host.HostVnic.BuildersetRxeps(java.lang.Double rxeps)RX drop rate (including errors).HostVnic.BuildersetRxmbps(java.lang.Double rxmbps)RX throughput.HostVnic.BuildersetRxpps(java.lang.Double rxpps)RX packet rate.HostVnic.BuildersetTxeps(java.lang.Double txeps)TX drop rate (including errors).HostVnic.BuildersetTxmbps(java.lang.Double txmbps)TX throughput.HostVnic.BuildersetTxpps(java.lang.Double txpps)TX packet rate.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofHostVnic.
-
-
Method Detail
-
setNumVnics
public HostVnic.Builder setNumVnics(java.lang.Long numVnics)
Number of VNICs in the host. format: int32- Parameters:
numVnics- New value for the property.
-
setRxeps
public HostVnic.Builder setRxeps(java.lang.Double rxeps)
RX drop rate (including errors).- Parameters:
rxeps- New value for the property.
-
setRxmbps
public HostVnic.Builder setRxmbps(java.lang.Double rxmbps)
RX throughput.- Parameters:
rxmbps- New value for the property.
-
setRxpps
public HostVnic.Builder setRxpps(java.lang.Double rxpps)
RX packet rate.- Parameters:
rxpps- New value for the property.
-
setTxeps
public HostVnic.Builder setTxeps(java.lang.Double txeps)
TX drop rate (including errors).- Parameters:
txeps- New value for the property.
-
setTxmbps
public HostVnic.Builder setTxmbps(java.lang.Double txmbps)
TX throughput.- Parameters:
txmbps- New value for the property.
-
setTxpps
public HostVnic.Builder setTxpps(java.lang.Double txpps)
TX packet rate.- Parameters:
txpps- New value for the property.
-
build
public HostVnic build()
-
-