Package com.vmware.nsx_policy.model
Class HostUplink.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.HostUplink.Builder
-
- Enclosing class:
- HostUplink
public static final class HostUplink.Builder extends java.lang.Object
Builder class forHostUplink
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofHostUplink
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostUplink
build()
HostUplink.Builder
setNumPnics(java.lang.Long numPnics)
Number of PNICs in the host.HostUplink.Builder
setRxeps(java.lang.Double rxeps)
RX drop rate (including errors).HostUplink.Builder
setRxErrorTotal(java.lang.Long rxErrorTotal)
Total RX drop (including errors) reported by the driver.HostUplink.Builder
setRxmbps(java.lang.Double rxmbps)
RX throughput.HostUplink.Builder
setRxMissed(java.lang.Long rxMissed)
RX missed reported by the driver.HostUplink.Builder
setRxpps(java.lang.Double rxpps)
RX packet rate.HostUplink.Builder
setTxeps(java.lang.Double txeps)
TX drop rate (including errors).HostUplink.Builder
setTxmbps(java.lang.Double txmbps)
TX throughput.HostUplink.Builder
setTxpps(java.lang.Double txpps)
TX packet rate.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofHostUplink
.
-
-
Method Detail
-
setNumPnics
public HostUplink.Builder setNumPnics(java.lang.Long numPnics)
Number of PNICs in the host. format: int32- Parameters:
numPnics
- New value for the property.
-
setRxErrorTotal
public HostUplink.Builder setRxErrorTotal(java.lang.Long rxErrorTotal)
Total RX drop (including errors) reported by the driver. format: int64- Parameters:
rxErrorTotal
- New value for the property.
-
setRxMissed
public HostUplink.Builder setRxMissed(java.lang.Long rxMissed)
RX missed reported by the driver. format: int64- Parameters:
rxMissed
- New value for the property.
-
setRxeps
public HostUplink.Builder setRxeps(java.lang.Double rxeps)
RX drop rate (including errors).- Parameters:
rxeps
- New value for the property.
-
setRxmbps
public HostUplink.Builder setRxmbps(java.lang.Double rxmbps)
RX throughput.- Parameters:
rxmbps
- New value for the property.
-
setRxpps
public HostUplink.Builder setRxpps(java.lang.Double rxpps)
RX packet rate.- Parameters:
rxpps
- New value for the property.
-
setTxeps
public HostUplink.Builder setTxeps(java.lang.Double txeps)
TX drop rate (including errors).- Parameters:
txeps
- New value for the property.
-
setTxmbps
public HostUplink.Builder setTxmbps(java.lang.Double txmbps)
TX throughput.- Parameters:
txmbps
- New value for the property.
-
setTxpps
public HostUplink.Builder setTxpps(java.lang.Double txpps)
TX packet rate.- Parameters:
txpps
- New value for the property.
-
build
public HostUplink build()
-
-