Package com.vmware.nsx_policy.model
Class VrfEvpnL2VniConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.VrfEvpnL2VniConfig.Builder
-
- Enclosing class:
- VrfEvpnL2VniConfig
public static final class VrfEvpnL2VniConfig.Builder extends java.lang.Object
Builder class forVrfEvpnL2VniConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofVrfEvpnL2VniConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VrfEvpnL2VniConfig
build()
VrfEvpnL2VniConfig.Builder
setEnableVtepGroups(java.lang.Boolean enableVtepGroups)
This is used to enable or disable the creation of vtep groups.VrfEvpnL2VniConfig.Builder
setL2VniConfigs(java.util.List<VrfL2VniConfig> l2VniConfigs)
Define L2 VNI and its related route distinguiser and route targets.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofVrfEvpnL2VniConfig
.
-
-
Method Detail
-
setEnableVtepGroups
public VrfEvpnL2VniConfig.Builder setEnableVtepGroups(java.lang.Boolean enableVtepGroups)
This is used to enable or disable the creation of vtep groups. Each vtep group is used to group vteps with the same MAC for L2 ECMP usage.- Parameters:
enableVtepGroups
- New value for the property.
-
setL2VniConfigs
public VrfEvpnL2VniConfig.Builder setL2VniConfigs(java.util.List<VrfL2VniConfig> l2VniConfigs)
Define L2 VNI and its related route distinguiser and route targets.- Parameters:
l2VniConfigs
- New value for the property.
-
build
public VrfEvpnL2VniConfig build()
-
-