public static final class DefaultBand.Builder extends Object implements Band.Builder
| Constructor and Description | 
|---|
Builder()  | 
| Modifier and Type | Method and Description | 
|---|---|
DefaultBand | 
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. 
 | 
public Band.Builder withRate(long rate)
Band.BuilderwithRate in interface Band.Builderrate - a long valuepublic Band.Builder burstSize(long burstSize)
Band.BuilderburstSize in interface Band.BuilderburstSize - a long value.public Band.Builder dropPrecedence(short prec)
Band.BuilderdropPrecedence in interface Band.Builderprec - a short valuepublic Band.Builder ofType(Band.Type type)
Band.BuilderBand.Type of this band.ofType in interface Band.Buildertype - a band typepublic DefaultBand build()
Band.Builderbuild in interface Band.Builder