public static interface PcepBandwidthObject.Builder
| Modifier and Type | Method and Description |
|---|---|
PcepBandwidthObject |
build()
Builds BandwidthObject.
|
float |
getBandwidth()
Returns bandwidth value.
|
PcepObjectHeader |
getBandwidthObjHeader()
Returns bandwidth object header.
|
PcepBandwidthObject.Builder |
setBandwidth(float iBandwidth)
Sets bandwidth value and return its builder.
|
PcepBandwidthObject.Builder |
setBandwidthObjHeader(PcepObjectHeader obj)
Sets bandwidth object header and returns its builder.
|
PcepBandwidthObject.Builder |
setIFlag(boolean value)
Sets I flag in Bandwidth object header and returns its builder.
|
PcepBandwidthObject.Builder |
setPFlag(boolean value)
Sets P flag in Bandwidth object header and returns its builder.
|
PcepBandwidthObject build() throws PcepParseException
PcepParseException - if build fails while creating PcepBandwidthObjectPcepObjectHeader getBandwidthObjHeader()
PcepBandwidthObject.Builder setBandwidthObjHeader(PcepObjectHeader obj)
obj - Bandwidth object headerfloat getBandwidth()
PcepBandwidthObject.Builder setBandwidth(float iBandwidth)
iBandwidth - bandwidth valuePcepBandwidthObject.Builder setPFlag(boolean value)
value - boolean value to set P flagPcepBandwidthObject.Builder setIFlag(boolean value)
value - boolean value to set I flag