public static final class LispSegmentLcafAddress.SegmentAddressBuilder extends LispLcafAddress.LcafAddressBuilder<LispSegmentLcafAddress.SegmentAddressBuilder>
| Constructor and Description |
|---|
SegmentAddressBuilder() |
| Modifier and Type | Method and Description |
|---|---|
LispSegmentLcafAddress |
build()
Builds LispSegmentLcafAddress instance.
|
LispSegmentLcafAddress.SegmentAddressBuilder |
withAddress(LispAfiAddress address)
Sets AFI address.
|
LispSegmentLcafAddress.SegmentAddressBuilder |
withIdMaskLength(byte idMaskLength)
Sets identifier mask length.
|
LispSegmentLcafAddress.SegmentAddressBuilder |
withInstanceId(int instanceId)
Sets instance identifer.
|
withFlag, withLcafType, withLength, withReserved1, withReserved2public LispSegmentLcafAddress.SegmentAddressBuilder withIdMaskLength(byte idMaskLength)
idMaskLength - identifier mask lengthpublic LispSegmentLcafAddress.SegmentAddressBuilder withInstanceId(int instanceId)
instanceId - instance identifierpublic LispSegmentLcafAddress.SegmentAddressBuilder withAddress(LispAfiAddress address)
address - AFI addresspublic LispSegmentLcafAddress build()
build in class LispLcafAddress.LcafAddressBuilder<LispSegmentLcafAddress.SegmentAddressBuilder>