public static interface Band.Builder
Modifier and Type | Method and Description |
---|---|
Band |
build()
Builds the band.
|
Band.Builder |
burstSize(long burstSize)
Assigns a burst size to this band.
|
Band.Builder |
dropPrecedence(short prec)
Assigns the drop precedence for this band.
|
Band.Builder |
ofType(Band.Type type)
Assigns the
Band.Type of this band. |
Band.Builder |
withRate(long rate)
Assigns a rate to this band.
|
Band.Builder withRate(long rate)
rate
- a long valueBand.Builder burstSize(long burstSize)
burstSize
- a long value.Band.Builder dropPrecedence(short prec)
prec
- a short valueBand.Builder ofType(Band.Type type)
Band.Type
of this band.type
- a band typeBand build()