Interface TunnelDescription.Builder

    • Method Detail

      • build

        TunnelDescription build()
        Returns new tunnel interface description.
        Returns:
        tunnel description
      • deviceId

        TunnelDescription.Builder deviceId​(java.lang.String deviceId)
        Returns tunnel interface description biulder with supplied device ID.
        Parameters:
        deviceId - device identifier
        Returns:
        tunnel description builder
      • ifaceName

        TunnelDescription.Builder ifaceName​(java.lang.String name)
        Returns tunnel interface description builder with a given interface name.
        Parameters:
        name - tunnel interface name
        Returns:
        tunnel description builder
      • local

        TunnelDescription.Builder local​(TunnelEndPoint endpoint)
        Returns tunnel interface description builder with a given local tunnel endpoint.
        Parameters:
        endpoint - tunnel endpoint
        Returns:
        tunnel description builder
      • remote

        TunnelDescription.Builder remote​(TunnelEndPoint endpoint)
        Returns tunnel interface description builder with a given remote tunnel endpoint.
        Parameters:
        endpoint - tunnel endpoint
        Returns:
        tunnel description builder
      • key

        TunnelDescription.Builder key​(TunnelKey tunnelKey)
        Returns tunnel interface description builder with a tunnel key.
        Parameters:
        tunnelKey - tunnel key
        Returns:
        tunnel description builder
      • otherConfigs

        TunnelDescription.Builder otherConfigs​(SparseAnnotations configs)
        Returns tunnel interface descriptions builder with other configurations.
        Parameters:
        configs - configurations
        Returns:
        tunnel description builder