Class VrfL2VniConfig.Builder

  • Enclosing class:
    VrfL2VniConfig

    public static final class VrfL2VniConfig.Builder
    extends java.lang.Object
    Builder class for VrfL2VniConfig.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of VrfL2VniConfig.
    • 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.