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