Class MacLearningCounters.Builder

    • Constructor Detail

      • Builder

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

      • setMacNotLearnedPacketsAllowed

        public MacLearningCounters.Builder setMacNotLearnedPacketsAllowed​(java.lang.Long macNotLearnedPacketsAllowed)
        The number of packets with unknown source MAC address that are dispatched without learning the source MAC address. Applicable only when the MAC limit is reached and MAC Limit policy is MAC_LEARNING_LIMIT_POLICY_ALLOW. format: int64
        Parameters:
        macNotLearnedPacketsAllowed - New value for the property.
      • setMacNotLearnedPacketsDropped

        public MacLearningCounters.Builder setMacNotLearnedPacketsDropped​(java.lang.Long macNotLearnedPacketsDropped)
        The number of packets with unknown source MAC address that are dropped without learning the source MAC address. Applicable only when the MAC limit is reached and MAC Limit policy is MAC_LEARNING_LIMIT_POLICY_DROP. format: int64
        Parameters:
        macNotLearnedPacketsDropped - New value for the property.
      • setMacsLearned

        public MacLearningCounters.Builder setMacsLearned​(java.lang.Long macsLearned)
        Number of MACs learned format: int64
        Parameters:
        macsLearned - New value for the property.