Class RoutingEntry.Builder

  • Enclosing class:
    RoutingEntry

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

      • Builder

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

      • setAdminDistance

        public RoutingEntry.Builder setAdminDistance​(java.lang.Long adminDistance)
        Admin distance. format: int32 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:
        adminDistance - New value for the property.
      • setBlackHole

        public RoutingEntry.Builder setBlackHole​(java.lang.Boolean blackHole)
        Value of this field will be true if given routes are null routes 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:
        blackHole - New value for the property.
      • set_Interface

        public RoutingEntry.Builder set_Interface​(java.lang.String _Interface)
        The policy path of the interface which is used as the next hop
        Parameters:
        _Interface - New value for the property.
      • setLrComponentId

        public RoutingEntry.Builder setLrComponentId​(java.lang.String lrComponentId)
        Logical router component(Service Router/Distributed Router) id
        Parameters:
        lrComponentId - New value for the property.
      • setLrComponentType

        public RoutingEntry.Builder setLrComponentType​(java.lang.String lrComponentType)
        Logical router component(Service Router/Distributed Router) type
        Parameters:
        lrComponentType - New value for the property.
      • setNetwork

        public RoutingEntry.Builder setNetwork​(java.lang.String network)
        Network CIDR. 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:
        network - New value for the property.
      • setNextHop

        public RoutingEntry.Builder setNextHop​(java.lang.String nextHop)
        Next hop address. format: ip 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:
        nextHop - New value for the property.
      • setNextHopGateway

        public RoutingEntry.Builder setNextHopGateway​(java.lang.String nextHopGateway)
        Next hop gateway path
        Parameters:
        nextHopGateway - New value for the property.
      • setRouteType

        public RoutingEntry.Builder setRouteType​(java.lang.String routeType)
        Route type in routing table. t0c - Tier-0 Connected t0s - Tier-0 Static b - BGP t0n - Tier-0 NAT t1s - Tier-1 Static t1c - Tier-1 Connected t1n: Tier-1 NAT t1l: Tier-1 LB VIP t1ls: Tier-1 LB SNAT t1d: Tier-1 DNS FORWARDER t1ipsec: Tier-1 IPSec isr: Inter-SR 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.