Package com.vmware.nsx_policy.model
Class SIMacLearningCounters.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SIMacLearningCounters.Builder
-
- Enclosing class:
- SIMacLearningCounters
public static final class SIMacLearningCounters.Builder extends java.lang.Object
Builder class forSIMacLearningCounters
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSIMacLearningCounters
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SIMacLearningCounters
build()
SIMacLearningCounters.Builder
setMacNotLearnedPacketsAllowed(java.lang.Long macNotLearnedPacketsAllowed)
The number of packets with unknown source MAC address that are dispatched without learning the source MAC address.SIMacLearningCounters.Builder
setMacNotLearnedPacketsDropped(java.lang.Long macNotLearnedPacketsDropped)
The number of packets with unknown source MAC address that are dropped without learning the source MAC address.SIMacLearningCounters.Builder
setMacsLearned(java.lang.Long macsLearned)
Number of MACs learned format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSIMacLearningCounters
.
-
-
Method Detail
-
setMacNotLearnedPacketsAllowed
public SIMacLearningCounters.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 SIMacLearningCounters.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 SIMacLearningCounters.Builder setMacsLearned(java.lang.Long macsLearned)
Number of MACs learned format: int64- Parameters:
macsLearned
- New value for the property.
-
build
public SIMacLearningCounters build()
-
-