public static final class DefaultLispMapReply.DefaultReplyBuilder extends Object implements LispMapReply.ReplyBuilder
| Constructor and Description |
|---|
DefaultReplyBuilder() |
| Modifier and Type | Method and Description |
|---|---|
LispMapReply |
build()
Builds LISP map reply message.
|
LispType |
getType()
Obtains LISP message type.
|
LispMapReply.ReplyBuilder |
withIsEtr(boolean etr)
Sets etr flag.
|
LispMapReply.ReplyBuilder |
withIsProbe(boolean probe)
Sets probe flag.
|
LispMapReply.ReplyBuilder |
withIsSecurity(boolean security)
Sets security flag.
|
LispMapReply.ReplyBuilder |
withMapRecords(List<LispMapRecord> mapRecords)
Sets a collection of map records.
|
LispMapReply.ReplyBuilder |
withNonce(long nonce)
Sets nonce value.
|
public LispType getType()
LispMessage.BuildergetType in interface LispMessage.Builderpublic LispMapReply.ReplyBuilder withIsProbe(boolean probe)
LispMapReply.ReplyBuilderwithIsProbe in interface LispMapReply.ReplyBuilderprobe - probe flagpublic LispMapReply.ReplyBuilder withIsEtr(boolean etr)
LispMapReply.ReplyBuilderwithIsEtr in interface LispMapReply.ReplyBuilderetr - etr flagpublic LispMapReply.ReplyBuilder withIsSecurity(boolean security)
LispMapReply.ReplyBuilderwithIsSecurity in interface LispMapReply.ReplyBuildersecurity - security flagpublic LispMapReply.ReplyBuilder withNonce(long nonce)
LispMapReply.ReplyBuilderwithNonce in interface LispMapReply.ReplyBuildernonce - nonce valuepublic LispMapReply.ReplyBuilder withMapRecords(List<LispMapRecord> mapRecords)
LispMapReply.ReplyBuilderwithMapRecords in interface LispMapReply.ReplyBuildermapRecords - a collection of map recordspublic LispMapReply build()
LispMapReply.ReplyBuilderbuild in interface LispMapReply.ReplyBuilder