Class RoutingTable.Builder

  • Enclosing class:
    RoutingTable

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

      • Builder

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

      • setCount

        public RoutingTable.Builder setCount​(java.lang.Long count)
        Entry count. 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:
        count - New value for the property.
      • setEdgeNode

        public RoutingTable.Builder setEdgeNode​(java.lang.String edgeNode)
        Transport node ID. 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:
        edgeNode - New value for the property.
      • setErrorMessage

        public RoutingTable.Builder setErrorMessage​(java.lang.String errorMessage)
        Routing table fetch error message, populated only if status if failure. 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:
        errorMessage - New value for the property.
      • setRouteEntries

        public RoutingTable.Builder setRouteEntries​(java.util.List<RoutingEntry> routeEntries)
        Route entries.
        Parameters:
        routeEntries - New value for the property.