public static interface QueueDescription.Builder
Modifier and Type | Method and Description |
---|---|
QueueDescription |
build()
Builds an immutable bridge description.
|
QueueDescription.Builder |
burst(java.lang.Long burst)
Returns queue description builder with a given burst.
|
QueueDescription.Builder |
dscp(java.lang.Integer dscp)
Returns queue description builder with given dscp.
|
QueueDescription.Builder |
maxRate(Bandwidth maxRate)
Returns queue description builder with max rate.
|
QueueDescription.Builder |
minRate(Bandwidth minRate)
Returns queue description builder with a given min rate.
|
QueueDescription.Builder |
priority(java.lang.Long priority)
Returns queue description builder with a given priority.
|
QueueDescription.Builder |
queueId(QueueId queueId)
Returns queue description builder with given name.
|
QueueDescription.Builder |
type(java.util.EnumSet<QueueDescription.Type> type)
Returns queue description builder with given type.
|
QueueDescription.Builder queueId(QueueId queueId)
queueId
- queue identifierQueueDescription.Builder dscp(java.lang.Integer dscp)
dscp
- dscpQueueDescription.Builder type(java.util.EnumSet<QueueDescription.Type> type)
type
- typeQueueDescription.Builder maxRate(Bandwidth maxRate)
maxRate
- Maximum allowed bandwidthQueueDescription.Builder minRate(Bandwidth minRate)
minRate
- Minimum guaranteed bandwidthQueueDescription.Builder burst(java.lang.Long burst)
burst
- burst sizeQueueDescription.Builder priority(java.lang.Long priority)
priority
- priorityQueueDescription build()