Class GatewayRouteCsvRecord.Builder

    • Constructor Detail

      • Builder

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

      • setAdminDistance

        public GatewayRouteCsvRecord.Builder setAdminDistance​(java.lang.Long adminDistance)
        The admin distance of the next hop format: int64
        Parameters:
        adminDistance - New value for the property.
      • setBlackHole

        public GatewayRouteCsvRecord.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.
      • setEdgePath

        public GatewayRouteCsvRecord.Builder setEdgePath​(java.lang.String edgePath)
        Edge node policy path. 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:
        edgePath - New value for the property.
      • set_Interface

        public GatewayRouteCsvRecord.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 GatewayRouteCsvRecord.Builder setLrComponentId​(java.lang.String lrComponentId)
        Logical router component(Service Router/Distributed Router) id
        Parameters:
        lrComponentId - New value for the property.
      • setLrComponentType

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

        public GatewayRouteCsvRecord.Builder setNetwork​(java.lang.String network)
        CIDR network address format: ip-cidr-block
        Parameters:
        network - New value for the property.
      • setNextHop

        public GatewayRouteCsvRecord.Builder setNextHop​(java.lang.String nextHop)
        The IP of the next hop format: ip
        Parameters:
        nextHop - New value for the property.
      • setNextHopGateway

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

        public GatewayRouteCsvRecord.Builder setRouteType​(java.lang.String routeType)
        Route type (USER, CONNECTED, NSX_INTERNAL,..)
        Parameters:
        routeType - New value for the property.