Package com.vmware.nsx_policy.model
Class FpCounters.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.FpCounters.Builder
-
- Enclosing class:
- FpCounters
public static final class FpCounters.Builder extends java.lang.Object
Builder class forFpCounters
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofFpCounters
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FpCounters
build()
FpCounters.Builder
setRxBytes(java.lang.Long rxBytes)
Count of rx bytes of ENS-Fastpath/FC-lookup.FpCounters.Builder
setRxDrops(java.lang.Long rxDrops)
Count of rx packet drops of ENS Fastpath / Not applicable for FC Module.FpCounters.Builder
setRxDropsSp(java.lang.Long rxDropsSp)
Count of rx pkts drops of slowpath / Not applicable for FC Module.FpCounters.Builder
setRxDropsUplink(java.lang.Long rxDropsUplink)
Count of rx packet drops of ENS Uplink / Not applicable for FC Module.FpCounters.Builder
setRxPkts(java.lang.Long rxPkts)
Count of rx packets of ENS Fastpath / Count of rx packets at FC lookup of vnic.FpCounters.Builder
setRxPktsSp(java.lang.Long rxPktsSp)
Count of rx pkt of slowpath / Not applicable for FC Module.FpCounters.Builder
setRxPktsUplink(java.lang.Long rxPktsUplink)
Count of rx packets of ENS Uplink / Count of rx packets at FC lookup of Uplink.FpCounters.Builder
setTxBytes(java.lang.Long txBytes)
Count of tx bytes of ENS/FC Fastpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.FpCounters.Builder
setTxDrops(java.lang.Long txDrops)
Count of tx packet drops of ENS Fastpath / Count of packets dropped at FC lookup of vnic format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.FpCounters.Builder
setTxDropsSp(java.lang.Long txDropsSp)
Count of tx pkts drops by slowpath / Not applicable for FC Module.FpCounters.Builder
setTxDropsUplink(java.lang.Long txDropsUplink)
Count of tx packet drops of ENS Uplink / Count of packets dropped at FC lookup of Uplink.FpCounters.Builder
setTxPkts(java.lang.Long txPkts)
Count of tx packets of ENS Fastpath / Count of packets going through FC fastpath at vnic.FpCounters.Builder
setTxPktsSp(java.lang.Long txPktsSp)
Count of tx pkts of ENS/FC slowpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.FpCounters.Builder
setTxPktsUplink(java.lang.Long txPktsUplink)
Count of tx packets of ENS Uplink / Count of packets going through FC fastpath at Uplink.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofFpCounters
.
-
-
Method Detail
-
setRxBytes
public FpCounters.Builder setRxBytes(java.lang.Long rxBytes)
Count of rx bytes of ENS-Fastpath/FC-lookup. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxBytes
- New value for the property.
-
setRxDrops
public FpCounters.Builder setRxDrops(java.lang.Long rxDrops)
Count of rx packet drops of ENS Fastpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxDrops
- New value for the property.
-
setRxDropsSp
public FpCounters.Builder setRxDropsSp(java.lang.Long rxDropsSp)
Count of rx pkts drops of slowpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxDropsSp
- New value for the property.
-
setRxDropsUplink
public FpCounters.Builder setRxDropsUplink(java.lang.Long rxDropsUplink)
Count of rx packet drops of ENS Uplink / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxDropsUplink
- New value for the property.
-
setRxPkts
public FpCounters.Builder setRxPkts(java.lang.Long rxPkts)
Count of rx packets of ENS Fastpath / Count of rx packets at FC lookup of vnic. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxPkts
- New value for the property.
-
setRxPktsSp
public FpCounters.Builder setRxPktsSp(java.lang.Long rxPktsSp)
Count of rx pkt of slowpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxPktsSp
- New value for the property.
-
setRxPktsUplink
public FpCounters.Builder setRxPktsUplink(java.lang.Long rxPktsUplink)
Count of rx packets of ENS Uplink / Count of rx packets at FC lookup of Uplink. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
rxPktsUplink
- New value for the property.
-
setTxBytes
public FpCounters.Builder setTxBytes(java.lang.Long txBytes)
Count of tx bytes of ENS/FC Fastpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txBytes
- New value for the property.
-
setTxDrops
public FpCounters.Builder setTxDrops(java.lang.Long txDrops)
Count of tx packet drops of ENS Fastpath / Count of packets dropped at FC lookup of vnic format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txDrops
- New value for the property.
-
setTxDropsSp
public FpCounters.Builder setTxDropsSp(java.lang.Long txDropsSp)
Count of tx pkts drops by slowpath / Not applicable for FC Module. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txDropsSp
- New value for the property.
-
setTxDropsUplink
public FpCounters.Builder setTxDropsUplink(java.lang.Long txDropsUplink)
Count of tx packet drops of ENS Uplink / Count of packets dropped at FC lookup of Uplink. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txDropsUplink
- New value for the property.
-
setTxPkts
public FpCounters.Builder setTxPkts(java.lang.Long txPkts)
Count of tx packets of ENS Fastpath / Count of packets going through FC fastpath at vnic. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txPkts
- New value for the property.
-
setTxPktsSp
public FpCounters.Builder setTxPktsSp(java.lang.Long txPktsSp)
Count of tx pkts of ENS/FC slowpath format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txPktsSp
- New value for the property.
-
setTxPktsUplink
public FpCounters.Builder setTxPktsUplink(java.lang.Long txPktsUplink)
Count of tx packets of ENS Uplink / Count of packets going through FC fastpath at Uplink. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
txPktsUplink
- New value for the property.
-
build
public FpCounters build()
-
-