Package com.vmware.nsx_policy.model
Class Tier0VrfConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.Tier0VrfConfig.Builder
-
- Enclosing class:
- Tier0VrfConfig
public static final class Tier0VrfConfig.Builder extends java.lang.Object
Builder class forTier0VrfConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofTier0VrfConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tier0VrfConfig
build()
Tier0VrfConfig.Builder
setEvpnL2VniConfig(VrfEvpnL2VniConfig evpnL2VniConfig)
Tier0VrfConfig.Builder
setEvpnTransitVni(java.lang.Long evpnTransitVni)
L3 VNI associated with the VRF for overlay traffic of ethernet virtual private network (EVPN).Tier0VrfConfig.Builder
setRdPerEdgePool(java.util.List<java.lang.String> rdPerEdgePool)
route distinguisher pool for edge nodes.Tier0VrfConfig.Builder
setRouteDistinguisher(java.lang.String routeDistinguisher)
Tier0VrfConfig.Builder
setRouteTargets(java.util.List<VrfRouteTargets> routeTargets)
Route targets.Tier0VrfConfig.Builder
setTier0Path(java.lang.String tier0Path)
Default tier0 path.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofTier0VrfConfig
.
-
-
Method Detail
-
setEvpnL2VniConfig
public Tier0VrfConfig.Builder setEvpnL2VniConfig(VrfEvpnL2VniConfig evpnL2VniConfig)
- Parameters:
evpnL2VniConfig
- New value for the property.
-
setEvpnTransitVni
public Tier0VrfConfig.Builder setEvpnTransitVni(java.lang.Long evpnTransitVni)
L3 VNI associated with the VRF for overlay traffic of ethernet virtual private network (EVPN). It must be unique and available from the VNI pool defined for EVPN service. It is required for VRF to participate in the EVPN service in INLINE mode. format: int32- Parameters:
evpnTransitVni
- New value for the property.
-
setRdPerEdgePool
public Tier0VrfConfig.Builder setRdPerEdgePool(java.util.List<java.lang.String> rdPerEdgePool)
route distinguisher pool for edge nodes.- Parameters:
rdPerEdgePool
- New value for the property.
-
setRouteDistinguisher
public Tier0VrfConfig.Builder setRouteDistinguisher(java.lang.String routeDistinguisher)
- Parameters:
routeDistinguisher
- New value for the property.
-
setRouteTargets
public Tier0VrfConfig.Builder setRouteTargets(java.util.List<VrfRouteTargets> routeTargets)
Route targets.- Parameters:
routeTargets
- New value for the property.
-
setTier0Path
public Tier0VrfConfig.Builder setTier0Path(java.lang.String tier0Path)
Default tier0 path. Cannot be modified after realization.- Parameters:
tier0Path
- New value for the property.
-
build
public Tier0VrfConfig build()
-
-