Interface QosDescription.Builder

    • Method Detail

      • qosId

        QosDescription.Builder qosId​(QosId qosId)
        Returns qos description builder with a given name.
        Parameters:
        qosId - qos identifier
        Returns:
        bridge description builder
      • maxRate

        QosDescription.Builder maxRate​(Bandwidth maxRate)
        Returns qos description builder with given maxRate.
        Parameters:
        maxRate - qos max rate
        Returns:
        qos description builder
      • cir

        QosDescription.Builder cir​(Long cir)
        Returns qos description builder with a given cir.
        Parameters:
        cir - in bytes of IP packets per second
        Returns:
        qos description builder
      • cbs

        QosDescription.Builder cbs​(Long cbs)
        Returns qos description builder with a given cbs.
        Parameters:
        cbs - in bytes and represents a token bucket
        Returns:
        qos description builder
      • queues

        QosDescription.Builder queues​(Map<Long,​QueueDescription> queues)
        Returns qos description builder with a given queues.
        Parameters:
        queues - the map from queue numbers to Queue records
        Returns:
        qos description builder
      • build

        QosDescription build()
        Builds an immutable qos description.
        Returns:
        qos description