Package com.vmware.nsx_policy.model
Class LogicalRouterPortCounters.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.LogicalRouterPortCounters.Builder
-
- Enclosing class:
- LogicalRouterPortCounters
public static final class LogicalRouterPortCounters.Builder extends java.lang.Object
Builder class forLogicalRouterPortCounters
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofLogicalRouterPortCounters
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogicalRouterPortCounters
build()
LogicalRouterPortCounters.Builder
setBlockedPackets(java.lang.Long blockedPackets)
The total number of packets blocked.LogicalRouterPortCounters.Builder
setDadDroppedPackets(java.lang.Long dadDroppedPackets)
Number of duplicate address detected packets dropped.LogicalRouterPortCounters.Builder
setDestinationUnsupportedDroppedPackets(java.lang.Long destinationUnsupportedDroppedPackets)
Number of packtes dropped as destination is not supported.LogicalRouterPortCounters.Builder
setDroppedPackets(java.lang.Long droppedPackets)
The total number of packets dropped.LogicalRouterPortCounters.Builder
setFirewallDroppedPackets(java.lang.Long firewallDroppedPackets)
Number of firewall packets dropped.LogicalRouterPortCounters.Builder
setFragNeededDroppedPackets(java.lang.Long fragNeededDroppedPackets)
Number of fragmentation needed packets dropped.LogicalRouterPortCounters.Builder
setIpsecDroppedPackets(java.lang.Long ipsecDroppedPackets)
Number of IPSec packets dropped format: int64LogicalRouterPortCounters.Builder
setIpsecNoSaDroppedPackets(java.lang.Long ipsecNoSaDroppedPackets)
Number of IPSec no security association packets dropped.LogicalRouterPortCounters.Builder
setIpsecNoVtiDroppedPackets(java.lang.Long ipsecNoVtiDroppedPackets)
Number of IPSec packets dropped as no VTI is present.LogicalRouterPortCounters.Builder
setIpsecPolBlockDroppedPackets(java.lang.Long ipsecPolBlockDroppedPackets)
Number of IPSec policy block packets dropped.LogicalRouterPortCounters.Builder
setIpsecPolErrDroppedPackets(java.lang.Long ipsecPolErrDroppedPackets)
Number of IPSec policy error packets dropped.LogicalRouterPortCounters.Builder
setIpv6DroppedPackets(java.lang.Long ipv6DroppedPackets)
Number of IPV6 packets dropped.LogicalRouterPortCounters.Builder
setKniDroppedPackets(java.lang.Long kniDroppedPackets)
Number of DPDK kernal NIC interface packets dropped.LogicalRouterPortCounters.Builder
setL4portUnsupportedDroppedPackets(java.lang.Long l4portUnsupportedDroppedPackets)
Number of packets dropped due to unsupported L4 port.LogicalRouterPortCounters.Builder
setMalformedDroppedPackets(java.lang.Long malformedDroppedPackets)
Number of packtes dropped as they are malformed.LogicalRouterPortCounters.Builder
setNoArpDroppedPackets(java.lang.Long noArpDroppedPackets)
Number of no ARP packets dropped.LogicalRouterPortCounters.Builder
setNoLinkedDroppedPackets(java.lang.Long noLinkedDroppedPackets)
Number of packets dropped as no linked ports are present.LogicalRouterPortCounters.Builder
setNoMemDroppedPackets(java.lang.Long noMemDroppedPackets)
Number of packets dropped due to insufficient memory.LogicalRouterPortCounters.Builder
setNonIpDroppedPackets(java.lang.Long nonIpDroppedPackets)
Number of non IP packets dropped.LogicalRouterPortCounters.Builder
setNoReceiverDroppedPackets(java.lang.Long noReceiverDroppedPackets)
Number of packets dropped due to absence of receiver.LogicalRouterPortCounters.Builder
setNoRouteDroppedPackets(java.lang.Long noRouteDroppedPackets)
The number of no route packets dropped format: int64LogicalRouterPortCounters.Builder
setProtoUnsupportedDroppedPackets(java.lang.Long protoUnsupportedDroppedPackets)
Number of packets dropped as protocol is unsupported.LogicalRouterPortCounters.Builder
setRedirectDroppedPackets(java.lang.Long redirectDroppedPackets)
Number of redirect packets dropped.LogicalRouterPortCounters.Builder
setRpfCheckDroppedPackets(java.lang.Long rpfCheckDroppedPackets)
Number of reverse-path forwarding check packets dropped.LogicalRouterPortCounters.Builder
setServiceInsertDroppedPackets(java.lang.Long serviceInsertDroppedPackets)
Number of service insert packets dropped.LogicalRouterPortCounters.Builder
setTotalBytes(java.lang.Long totalBytes)
The total number of bytes transferred.LogicalRouterPortCounters.Builder
setTotalPackets(java.lang.Long totalPackets)
The total number of packets transferred.LogicalRouterPortCounters.Builder
setTtlExceededDroppedPackets(java.lang.Long ttlExceededDroppedPackets)
Number of time to live exceeded packets dropped.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofLogicalRouterPortCounters
.
-
-
Method Detail
-
setBlockedPackets
public LogicalRouterPortCounters.Builder setBlockedPackets(java.lang.Long blockedPackets)
The total number of packets blocked. format: int64- Parameters:
blockedPackets
- New value for the property.
-
setDadDroppedPackets
public LogicalRouterPortCounters.Builder setDadDroppedPackets(java.lang.Long dadDroppedPackets)
Number of duplicate address detected packets dropped. format: int64- Parameters:
dadDroppedPackets
- New value for the property.
-
setDestinationUnsupportedDroppedPackets
public LogicalRouterPortCounters.Builder setDestinationUnsupportedDroppedPackets(java.lang.Long destinationUnsupportedDroppedPackets)
Number of packtes dropped as destination is not supported. format: int64- Parameters:
destinationUnsupportedDroppedPackets
- New value for the property.
-
setDroppedPackets
public LogicalRouterPortCounters.Builder setDroppedPackets(java.lang.Long droppedPackets)
The total number of packets dropped. format: int64- Parameters:
droppedPackets
- New value for the property.
-
setFirewallDroppedPackets
public LogicalRouterPortCounters.Builder setFirewallDroppedPackets(java.lang.Long firewallDroppedPackets)
Number of firewall packets dropped. format: int64- Parameters:
firewallDroppedPackets
- New value for the property.
-
setFragNeededDroppedPackets
public LogicalRouterPortCounters.Builder setFragNeededDroppedPackets(java.lang.Long fragNeededDroppedPackets)
Number of fragmentation needed packets dropped. format: int64- Parameters:
fragNeededDroppedPackets
- New value for the property.
-
setIpsecDroppedPackets
public LogicalRouterPortCounters.Builder setIpsecDroppedPackets(java.lang.Long ipsecDroppedPackets)
Number of IPSec packets dropped format: int64- Parameters:
ipsecDroppedPackets
- New value for the property.
-
setIpsecNoSaDroppedPackets
public LogicalRouterPortCounters.Builder setIpsecNoSaDroppedPackets(java.lang.Long ipsecNoSaDroppedPackets)
Number of IPSec no security association packets dropped. format: int64- Parameters:
ipsecNoSaDroppedPackets
- New value for the property.
-
setIpsecNoVtiDroppedPackets
public LogicalRouterPortCounters.Builder setIpsecNoVtiDroppedPackets(java.lang.Long ipsecNoVtiDroppedPackets)
Number of IPSec packets dropped as no VTI is present. format: int64- Parameters:
ipsecNoVtiDroppedPackets
- New value for the property.
-
setIpsecPolBlockDroppedPackets
public LogicalRouterPortCounters.Builder setIpsecPolBlockDroppedPackets(java.lang.Long ipsecPolBlockDroppedPackets)
Number of IPSec policy block packets dropped. format: int64- Parameters:
ipsecPolBlockDroppedPackets
- New value for the property.
-
setIpsecPolErrDroppedPackets
public LogicalRouterPortCounters.Builder setIpsecPolErrDroppedPackets(java.lang.Long ipsecPolErrDroppedPackets)
Number of IPSec policy error packets dropped. format: int64- Parameters:
ipsecPolErrDroppedPackets
- New value for the property.
-
setIpv6DroppedPackets
public LogicalRouterPortCounters.Builder setIpv6DroppedPackets(java.lang.Long ipv6DroppedPackets)
Number of IPV6 packets dropped. format: int64- Parameters:
ipv6DroppedPackets
- New value for the property.
-
setKniDroppedPackets
public LogicalRouterPortCounters.Builder setKniDroppedPackets(java.lang.Long kniDroppedPackets)
Number of DPDK kernal NIC interface packets dropped. format: int64- Parameters:
kniDroppedPackets
- New value for the property.
-
setL4portUnsupportedDroppedPackets
public LogicalRouterPortCounters.Builder setL4portUnsupportedDroppedPackets(java.lang.Long l4portUnsupportedDroppedPackets)
Number of packets dropped due to unsupported L4 port. format: int64- Parameters:
l4portUnsupportedDroppedPackets
- New value for the property.
-
setMalformedDroppedPackets
public LogicalRouterPortCounters.Builder setMalformedDroppedPackets(java.lang.Long malformedDroppedPackets)
Number of packtes dropped as they are malformed. format: int64- Parameters:
malformedDroppedPackets
- New value for the property.
-
setNoArpDroppedPackets
public LogicalRouterPortCounters.Builder setNoArpDroppedPackets(java.lang.Long noArpDroppedPackets)
Number of no ARP packets dropped. format: int64- Parameters:
noArpDroppedPackets
- New value for the property.
-
setNoLinkedDroppedPackets
public LogicalRouterPortCounters.Builder setNoLinkedDroppedPackets(java.lang.Long noLinkedDroppedPackets)
Number of packets dropped as no linked ports are present. format: int64- Parameters:
noLinkedDroppedPackets
- New value for the property.
-
setNoMemDroppedPackets
public LogicalRouterPortCounters.Builder setNoMemDroppedPackets(java.lang.Long noMemDroppedPackets)
Number of packets dropped due to insufficient memory. format: int64- Parameters:
noMemDroppedPackets
- New value for the property.
-
setNoReceiverDroppedPackets
public LogicalRouterPortCounters.Builder setNoReceiverDroppedPackets(java.lang.Long noReceiverDroppedPackets)
Number of packets dropped due to absence of receiver. format: int64- Parameters:
noReceiverDroppedPackets
- New value for the property.
-
setNoRouteDroppedPackets
public LogicalRouterPortCounters.Builder setNoRouteDroppedPackets(java.lang.Long noRouteDroppedPackets)
The number of no route packets dropped format: int64- Parameters:
noRouteDroppedPackets
- New value for the property.
-
setNonIpDroppedPackets
public LogicalRouterPortCounters.Builder setNonIpDroppedPackets(java.lang.Long nonIpDroppedPackets)
Number of non IP packets dropped. format: int64- Parameters:
nonIpDroppedPackets
- New value for the property.
-
setProtoUnsupportedDroppedPackets
public LogicalRouterPortCounters.Builder setProtoUnsupportedDroppedPackets(java.lang.Long protoUnsupportedDroppedPackets)
Number of packets dropped as protocol is unsupported. format: int64- Parameters:
protoUnsupportedDroppedPackets
- New value for the property.
-
setRedirectDroppedPackets
public LogicalRouterPortCounters.Builder setRedirectDroppedPackets(java.lang.Long redirectDroppedPackets)
Number of redirect packets dropped. format: int64- Parameters:
redirectDroppedPackets
- New value for the property.
-
setRpfCheckDroppedPackets
public LogicalRouterPortCounters.Builder setRpfCheckDroppedPackets(java.lang.Long rpfCheckDroppedPackets)
Number of reverse-path forwarding check packets dropped. format: int64- Parameters:
rpfCheckDroppedPackets
- New value for the property.
-
setServiceInsertDroppedPackets
public LogicalRouterPortCounters.Builder setServiceInsertDroppedPackets(java.lang.Long serviceInsertDroppedPackets)
Number of service insert packets dropped. format: int64- Parameters:
serviceInsertDroppedPackets
- New value for the property.
-
setTotalBytes
public LogicalRouterPortCounters.Builder setTotalBytes(java.lang.Long totalBytes)
The total number of bytes transferred. format: int64- Parameters:
totalBytes
- New value for the property.
-
setTotalPackets
public LogicalRouterPortCounters.Builder setTotalPackets(java.lang.Long totalPackets)
The total number of packets transferred. format: int64- Parameters:
totalPackets
- New value for the property.
-
setTtlExceededDroppedPackets
public LogicalRouterPortCounters.Builder setTtlExceededDroppedPackets(java.lang.Long ttlExceededDroppedPackets)
Number of time to live exceeded packets dropped. format: int64- Parameters:
ttlExceededDroppedPackets
- New value for the property.
-
build
public LogicalRouterPortCounters build()
-
-