Package com.vmware.nsx_policy.model
Class VrfL2VniConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.VrfL2VniConfig.Builder
-
- Enclosing class:
- VrfL2VniConfig
public static final class VrfL2VniConfig.Builder extends java.lang.Object
Builder class forVrfL2VniConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofVrfL2VniConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VrfL2VniConfig
build()
VrfL2VniConfig.Builder
setL2Vni(java.lang.Long l2Vni)
L2 VNI associated with the VRF.VrfL2VniConfig.Builder
setRouteDistinguisher(java.lang.String routeDistinguisher)
VrfL2VniConfig.Builder
setRouteTargets(java.util.List<VrfRouteTargets> routeTargets)
Route targets.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofVrfL2VniConfig
.
-
-
Method Detail
-
setL2Vni
public VrfL2VniConfig.Builder setL2Vni(java.lang.Long l2Vni)
L2 VNI associated with the VRF. It must be unique and available from the VNI pool defined for EVPN service. format: int32- Parameters:
l2Vni
- New value for the property.
-
setRouteDistinguisher
public VrfL2VniConfig.Builder setRouteDistinguisher(java.lang.String routeDistinguisher)
- Parameters:
routeDistinguisher
- New value for the property.
-
setRouteTargets
public VrfL2VniConfig.Builder setRouteTargets(java.util.List<VrfRouteTargets> routeTargets)
Route targets.- Parameters:
routeTargets
- New value for the property.
-
build
public VrfL2VniConfig build()
-
-