Package com.vmware.nsx_policy.model
Class MacLearningCounters.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MacLearningCounters.Builder
-
- Enclosing class:
- MacLearningCounters
public static final class MacLearningCounters.Builder extends java.lang.Object
Builder class forMacLearningCounters
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofMacLearningCounters
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacLearningCounters
build()
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.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.MacLearningCounters.Builder
setMacsLearned(java.lang.Long macsLearned)
Number of MACs learned format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMacLearningCounters
.
-
-
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.
-
build
public MacLearningCounters build()
-
-