Class OspfRoute.Builder

  • Enclosing class:
    OspfRoute

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

      • Builder

        public Builder()
        Constructor with parameters for the required properties of OspfRoute.
    • Method Detail

      • setArea

        public OspfRoute.Builder setArea​(java.lang.String area)
        OSPF area. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        area - New value for the property.
      • setCost

        public OspfRoute.Builder setCost​(java.lang.Long cost)
        Cost of the route. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        cost - New value for the property.
      • setNextHops

        public OspfRoute.Builder setNextHops​(java.util.List<OspfRouteNextHopResult> nextHops)
        request counter. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        nextHops - New value for the property.
      • setRoutePrefix

        public OspfRoute.Builder setRoutePrefix​(java.lang.String routePrefix)
        Learned route prefix. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        routePrefix - New value for the property.
      • setRouteType

        public OspfRoute.Builder setRouteType​(java.lang.String routeType)
        Type of route. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        routeType - New value for the property.
      • setRouterType

        public OspfRoute.Builder setRouterType​(java.lang.String routerType)
        Type of router. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        routerType - New value for the property.
      • setTypeToCost

        public OspfRoute.Builder setTypeToCost​(java.lang.Long typeToCost)
        Type to cost of the route. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
        Parameters:
        typeToCost - New value for the property.