Package com.vmware.nsx_policy.model
Class PacketMonitorStats.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PacketMonitorStats.Builder
-
- Enclosing class:
- PacketMonitorStats
public static final class PacketMonitorStats.Builder extends java.lang.Object
Builder class forPacketMonitorStats
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPacketMonitorStats
.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPacketMonitorStats
.
-
-
Method Detail
-
setDatapathPacketDrops
public PacketMonitorStats.Builder setDatapathPacketDrops(DatapathPacketDrops datapathPacketDrops)
- Parameters:
datapathPacketDrops
- New value for the property.
-
setDatapathSystemErrorPacketDrops
public PacketMonitorStats.Builder setDatapathSystemErrorPacketDrops(java.lang.Long datapathSystemErrorPacketDrops)
Packet dropeed due to datapth system error drops. format: int64- Parameters:
datapathSystemErrorPacketDrops
- New value for the property.
-
setDatapathTotalPacketDropsPps
public PacketMonitorStats.Builder setDatapathTotalPacketDropsPps(java.lang.Double datapathTotalPacketDropsPps)
Datapath total packet drop rate.- Parameters:
datapathTotalPacketDropsPps
- New value for the property.
-
setLastUpdateTimestamp
public PacketMonitorStats.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the data was last updated; unset if data source has never updated the data. 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:
lastUpdateTimestamp
- New value for the property.
-
setLocalWorkloadsTransmittedReceivedBroadcastPackets
public PacketMonitorStats.Builder setLocalWorkloadsTransmittedReceivedBroadcastPackets(LocalWorkloadsTransmittedReceivedBroadcastPackets localWorkloadsTransmittedReceivedBroadcastPackets)
- Parameters:
localWorkloadsTransmittedReceivedBroadcastPackets
- New value for the property.
-
setLocalWorkloadsTransmittedReceivedMulticastPackets
public PacketMonitorStats.Builder setLocalWorkloadsTransmittedReceivedMulticastPackets(LocalWorkloadsTransmittedReceivedMulticastPackets localWorkloadsTransmittedReceivedMulticastPackets)
- Parameters:
localWorkloadsTransmittedReceivedMulticastPackets
- New value for the property.
-
setLocalWorkloadsTransmittedReceivedPackets
public PacketMonitorStats.Builder setLocalWorkloadsTransmittedReceivedPackets(LocalWorkloadsTransmittedReceivedPackets localWorkloadsTransmittedReceivedPackets)
- Parameters:
localWorkloadsTransmittedReceivedPackets
- New value for the property.
-
setNumberOfPnics
public PacketMonitorStats.Builder setNumberOfPnics(java.lang.Long numberOfPnics)
Number of PNICs in the host. format: int64- Parameters:
numberOfPnics
- New value for the property.
-
setNumberOfVnics
public PacketMonitorStats.Builder setNumberOfVnics(java.lang.Long numberOfVnics)
Number of VNICs in the host. format: int64- Parameters:
numberOfVnics
- New value for the property.
-
setPacketProcessingEfficiencyWatch
public PacketMonitorStats.Builder setPacketProcessingEfficiencyWatch(PacketProcessingEfficiencyWatch packetProcessingEfficiencyWatch)
- Parameters:
packetProcessingEfficiencyWatch
- New value for the property.
-
setPnicsTransmittedReceivedPackets
public PacketMonitorStats.Builder setPnicsTransmittedReceivedPackets(PnicsTransmittedReceivedPackets pnicsTransmittedReceivedPackets)
- Parameters:
pnicsTransmittedReceivedPackets
- New value for the property.
-
setUnicastPacketFlooding
public PacketMonitorStats.Builder setUnicastPacketFlooding(UnicastPacketFlooding unicastPacketFlooding)
- Parameters:
unicastPacketFlooding
- New value for the property.
-
build
public PacketMonitorStats build()
-
-