Class SwsecCounters.Builder

  • Enclosing class:
    SwsecCounters

    public static final class SwsecCounters.Builder
    extends java.lang.Object
    Builder class for SwsecCounters.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of SwsecCounters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SwsecCounters build()  
      SwsecCounters.Builder setBpduFilterDrops​(java.lang.Long bpduFilterDrops)
      Number of packets dropped by BPDU Filtering.
      SwsecCounters.Builder setDhcpClientBlockIpv4Drops​(java.lang.Long dhcpClientBlockIpv4Drops)
      Number of IPv4 DHCP packets dropped by DHCP Client Block.
      SwsecCounters.Builder setDhcpClientBlockIpv6Drops​(java.lang.Long dhcpClientBlockIpv6Drops)
      Number of DHCPv6 packets dropped by DHCP Client Block.
      SwsecCounters.Builder setDhcpClientValidateIpv4Drops​(java.lang.Long dhcpClientValidateIpv4Drops)
      Number of IPv4 DHCP packets dropped because addresses in the payload were not valid 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.
      SwsecCounters.Builder setDhcpServerBlockIpv4Drops​(java.lang.Long dhcpServerBlockIpv4Drops)
      Number of IPv4 DHCP packets dropped by DHCP Server Block.
      SwsecCounters.Builder setDhcpServerBlockIpv6Drops​(java.lang.Long dhcpServerBlockIpv6Drops)
      Number of DHCPv6 packets dropped by DHCP Server Block.
      SwsecCounters.Builder setNdParseErrors​(java.lang.Long ndParseErrors)
      Number of IPv 6 Router Advertisement packets dropped by RA Guard.
      SwsecCounters.Builder setRaGuardDrops​(java.lang.Long raGuardDrops)
      Number of IPv6 Neighbor Discovery (ND) packets which were not correctly parsed 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.
      SwsecCounters.Builder setRxArpPkts​(java.lang.Long rxArpPkts)
      Number of transmitted IPv6 packets 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.
      SwsecCounters.Builder setRxGarpPkts​(java.lang.Long rxGarpPkts)
      Number of transmitted ARP packets 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.
      SwsecCounters.Builder setRxIpv4Pkts​(java.lang.Long rxIpv4Pkts)
      Number of received IPv4 packets 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.
      SwsecCounters.Builder setRxIpv6Pkts​(java.lang.Long rxIpv6Pkts)
      Number of received IPv6 packets 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.
      SwsecCounters.Builder setRxNaPkts​(java.lang.Long rxNaPkts)
      Number of IPv6 ND (Neighbor Discovery) NA (Neighbor Advertisement) packets 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.
      SwsecCounters.Builder setRxNonIpPkts​(java.lang.Long rxNonIpPkts)
      Number of transmitted Gratuitous ARP (GARP) packets 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.
      SwsecCounters.Builder setRxNsPkts​(java.lang.Long rxNsPkts)
      Number of IPv6 ND (Neighbor Discovery) NS (Neighbor Solicitation) packets 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.
      SwsecCounters.Builder setRxRateLimitBcastDrops​(java.lang.Long rxRateLimitBcastDrops)
      Number of ingress packets dropped by broadcast Rate Limiting 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.
      SwsecCounters.Builder setRxRateLimitMcastDrops​(java.lang.Long rxRateLimitMcastDrops)
      Number of ingress packets dropped by multicast Rate Limiting 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.
      SwsecCounters.Builder setRxUnsolicitedNaPkts​(java.lang.Long rxUnsolicitedNaPkts)
      Number of IPv6 ND (Neighbor Discovery) NA (Neighbor Advertisement) packets which, were unsolicited 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.
      SwsecCounters.Builder setSpoofGuardArpDrops​(java.lang.Long spoofGuardArpDrops)
      Number of IPv6 packets dropped by Spoof Guard.
      SwsecCounters.Builder setSpoofGuardIpv4Drops​(java.lang.Long spoofGuardIpv4Drops)
      Number of IPv4 packets dropped by Spoof Guard.
      SwsecCounters.Builder setSpoofGuardIpv6Drops​(java.lang.Long spoofGuardIpv6Drops)
      Number of IPv6 Neighbor Discovery (ND) packets dropped by Spoof Guard.
      SwsecCounters.Builder setSpoofGuardNdDrops​(java.lang.Long spoofGuardNdDrops)
      Number of ARP packets dropped by Spoof Guard.
      SwsecCounters.Builder setSpoofGuardNonIpDrops​(java.lang.Long spoofGuardNonIpDrops)
      Number of Non-IP packets dropped by Spoof Guard 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.
      SwsecCounters.Builder setTxArpPkts​(java.lang.Long txArpPkts)
      Number of received ARP packets 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.
      SwsecCounters.Builder setTxIpv4Pkts​(java.lang.Long txIpv4Pkts)
      Number of transmitted IPv4 packets 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.
      SwsecCounters.Builder setTxIpv6Pkts​(java.lang.Long txIpv6Pkts)
      Number of received non-IP packets 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.
      SwsecCounters.Builder setTxNonIpPkts​(java.lang.Long txNonIpPkts)
      Number of transmitted non-IP packets 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.
      SwsecCounters.Builder setTxRateLimitBcastDrops​(java.lang.Long txRateLimitBcastDrops)
      Number of egress packets dropped by broadcast Rate Limiting 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.
      SwsecCounters.Builder setTxRateLimitMcastDrops​(java.lang.Long txRateLimitMcastDrops)
      Number of egress packets dropped by multicast Rate Limiting 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of SwsecCounters.
    • Method Detail

      • setBpduFilterDrops

        public SwsecCounters.Builder setBpduFilterDrops​(java.lang.Long bpduFilterDrops)
        Number of packets dropped by BPDU Filtering. When the BPDU Filter is enabled, traffic to the configured BPDU destination MAC addresses 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:
        bpduFilterDrops - New value for the property.
      • setDhcpClientBlockIpv4Drops

        public SwsecCounters.Builder setDhcpClientBlockIpv4Drops​(java.lang.Long dhcpClientBlockIpv4Drops)
        Number of IPv4 DHCP packets dropped by DHCP Client Block. DHCP Client Block prevents a VM from acquiring DHCP IP address by blocking DHCP requests 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:
        dhcpClientBlockIpv4Drops - New value for the property.
      • setDhcpClientBlockIpv6Drops

        public SwsecCounters.Builder setDhcpClientBlockIpv6Drops​(java.lang.Long dhcpClientBlockIpv6Drops)
        Number of DHCPv6 packets dropped by DHCP Client Block. DHCP Client Block prevents a VM from acquiring DHCP IP address by blocking DHCP requests 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:
        dhcpClientBlockIpv6Drops - New value for the property.
      • setDhcpClientValidateIpv4Drops

        public SwsecCounters.Builder setDhcpClientValidateIpv4Drops​(java.lang.Long dhcpClientValidateIpv4Drops)
        Number of IPv4 DHCP packets dropped because addresses in the payload were not valid 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:
        dhcpClientValidateIpv4Drops - New value for the property.
      • setDhcpServerBlockIpv4Drops

        public SwsecCounters.Builder setDhcpServerBlockIpv4Drops​(java.lang.Long dhcpServerBlockIpv4Drops)
        Number of IPv4 DHCP packets dropped by DHCP Server Block. DHCP Server Block blocks traffic from a DHCP Server to a DHCP Client 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:
        dhcpServerBlockIpv4Drops - New value for the property.
      • setDhcpServerBlockIpv6Drops

        public SwsecCounters.Builder setDhcpServerBlockIpv6Drops​(java.lang.Long dhcpServerBlockIpv6Drops)
        Number of DHCPv6 packets dropped by DHCP Server Block. DHCP Server Block blocks traffic from a DHCP Server to a DHCP Client 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:
        dhcpServerBlockIpv6Drops - New value for the property.
      • setNdParseErrors

        public SwsecCounters.Builder setNdParseErrors​(java.lang.Long ndParseErrors)
        Number of IPv 6 Router Advertisement packets dropped by RA Guard. 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:
        ndParseErrors - New value for the property.
      • setRaGuardDrops

        public SwsecCounters.Builder setRaGuardDrops​(java.lang.Long raGuardDrops)
        Number of IPv6 Neighbor Discovery (ND) packets which were not correctly parsed 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:
        raGuardDrops - New value for the property.
      • setRxArpPkts

        public SwsecCounters.Builder setRxArpPkts​(java.lang.Long rxArpPkts)
        Number of transmitted IPv6 packets 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:
        rxArpPkts - New value for the property.
      • setRxGarpPkts

        public SwsecCounters.Builder setRxGarpPkts​(java.lang.Long rxGarpPkts)
        Number of transmitted ARP packets 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:
        rxGarpPkts - New value for the property.
      • setRxIpv4Pkts

        public SwsecCounters.Builder setRxIpv4Pkts​(java.lang.Long rxIpv4Pkts)
        Number of received IPv4 packets 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:
        rxIpv4Pkts - New value for the property.
      • setRxIpv6Pkts

        public SwsecCounters.Builder setRxIpv6Pkts​(java.lang.Long rxIpv6Pkts)
        Number of received IPv6 packets 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:
        rxIpv6Pkts - New value for the property.
      • setRxNaPkts

        public SwsecCounters.Builder setRxNaPkts​(java.lang.Long rxNaPkts)
        Number of IPv6 ND (Neighbor Discovery) NA (Neighbor Advertisement) packets 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:
        rxNaPkts - New value for the property.
      • setRxNonIpPkts

        public SwsecCounters.Builder setRxNonIpPkts​(java.lang.Long rxNonIpPkts)
        Number of transmitted Gratuitous ARP (GARP) packets 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:
        rxNonIpPkts - New value for the property.
      • setRxNsPkts

        public SwsecCounters.Builder setRxNsPkts​(java.lang.Long rxNsPkts)
        Number of IPv6 ND (Neighbor Discovery) NS (Neighbor Solicitation) packets 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:
        rxNsPkts - New value for the property.
      • setRxRateLimitBcastDrops

        public SwsecCounters.Builder setRxRateLimitBcastDrops​(java.lang.Long rxRateLimitBcastDrops)
        Number of ingress packets dropped by broadcast Rate Limiting 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:
        rxRateLimitBcastDrops - New value for the property.
      • setRxRateLimitMcastDrops

        public SwsecCounters.Builder setRxRateLimitMcastDrops​(java.lang.Long rxRateLimitMcastDrops)
        Number of ingress packets dropped by multicast Rate Limiting 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:
        rxRateLimitMcastDrops - New value for the property.
      • setRxUnsolicitedNaPkts

        public SwsecCounters.Builder setRxUnsolicitedNaPkts​(java.lang.Long rxUnsolicitedNaPkts)
        Number of IPv6 ND (Neighbor Discovery) NA (Neighbor Advertisement) packets which, were unsolicited 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:
        rxUnsolicitedNaPkts - New value for the property.
      • setSpoofGuardArpDrops

        public SwsecCounters.Builder setSpoofGuardArpDrops​(java.lang.Long spoofGuardArpDrops)
        Number of IPv6 packets dropped by Spoof Guard. SpoofGuard protects against IP spoofing by maintaining a reference table of , VM names and IP addresses 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:
        spoofGuardArpDrops - New value for the property.
      • setSpoofGuardIpv4Drops

        public SwsecCounters.Builder setSpoofGuardIpv4Drops​(java.lang.Long spoofGuardIpv4Drops)
        Number of IPv4 packets dropped by Spoof Guard. SpoofGuard protects against IP spoofing by maintaining a reference table of , VM names and IP addresses 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:
        spoofGuardIpv4Drops - New value for the property.
      • setSpoofGuardIpv6Drops

        public SwsecCounters.Builder setSpoofGuardIpv6Drops​(java.lang.Long spoofGuardIpv6Drops)
        Number of IPv6 Neighbor Discovery (ND) packets dropped by Spoof Guard. SpoofGuard protects against ND Spoofing by filtering out ND packets whose addresses, do not match the VM's address 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:
        spoofGuardIpv6Drops - New value for the property.
      • setSpoofGuardNdDrops

        public SwsecCounters.Builder setSpoofGuardNdDrops​(java.lang.Long spoofGuardNdDrops)
        Number of ARP packets dropped by Spoof Guard. Spoof Guard protects against malicious ARP spoofing attacks by keeping track of , MAC and IP addresses 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:
        spoofGuardNdDrops - New value for the property.
      • setSpoofGuardNonIpDrops

        public SwsecCounters.Builder setSpoofGuardNonIpDrops​(java.lang.Long spoofGuardNonIpDrops)
        Number of Non-IP packets dropped by Spoof Guard 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:
        spoofGuardNonIpDrops - New value for the property.
      • setTxArpPkts

        public SwsecCounters.Builder setTxArpPkts​(java.lang.Long txArpPkts)
        Number of received ARP packets 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:
        txArpPkts - New value for the property.
      • setTxIpv4Pkts

        public SwsecCounters.Builder setTxIpv4Pkts​(java.lang.Long txIpv4Pkts)
        Number of transmitted IPv4 packets 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:
        txIpv4Pkts - New value for the property.
      • setTxIpv6Pkts

        public SwsecCounters.Builder setTxIpv6Pkts​(java.lang.Long txIpv6Pkts)
        Number of received non-IP packets 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:
        txIpv6Pkts - New value for the property.
      • setTxNonIpPkts

        public SwsecCounters.Builder setTxNonIpPkts​(java.lang.Long txNonIpPkts)
        Number of transmitted non-IP packets 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:
        txNonIpPkts - New value for the property.
      • setTxRateLimitBcastDrops

        public SwsecCounters.Builder setTxRateLimitBcastDrops​(java.lang.Long txRateLimitBcastDrops)
        Number of egress packets dropped by broadcast Rate Limiting 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:
        txRateLimitBcastDrops - New value for the property.
      • setTxRateLimitMcastDrops

        public SwsecCounters.Builder setTxRateLimitMcastDrops​(java.lang.Long txRateLimitMcastDrops)
        Number of egress packets dropped by multicast Rate Limiting 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:
        txRateLimitMcastDrops - New value for the property.