public static final class DefaultLispMapNotify.DefaultNotifyBuilder extends Object implements LispMapNotify.NotifyBuilder
| Constructor and Description |
|---|
DefaultNotifyBuilder() |
| Modifier and Type | Method and Description |
|---|---|
LispMapNotify |
build()
Builds LISP map notify message.
|
LispType |
getType()
Obtains LISP message type.
|
LispMapNotify.NotifyBuilder |
withAuthData(byte[] authData)
Sets authentication data.
|
LispMapNotify.NotifyBuilder |
withAuthDataLength(short authDataLength)
Sets authentication data length.
|
LispMapNotify.NotifyBuilder |
withAuthKey(String key)
Sets authentication key.
|
LispMapNotify.NotifyBuilder |
withKeyId(short keyId)
Sets key identifier.
|
LispMapNotify.NotifyBuilder |
withMapRecords(List<LispMapRecord> mapRecords)
Sets a collection of map records.
|
LispMapNotify.NotifyBuilder |
withNonce(long nonce)
Sets nonce value.
|
public LispType getType()
LispMessage.BuildergetType in interface LispMessage.Builderpublic LispMapNotify.NotifyBuilder withNonce(long nonce)
LispMapNotify.NotifyBuilderwithNonce in interface LispMapNotify.NotifyBuildernonce - nonce valuepublic LispMapNotify.NotifyBuilder withKeyId(short keyId)
LispMapNotify.NotifyBuilderwithKeyId in interface LispMapNotify.NotifyBuilderkeyId - key identifierpublic LispMapNotify.NotifyBuilder withAuthKey(String key)
LispMapNotify.NotifyBuilderwithAuthKey in interface LispMapNotify.NotifyBuilderkey - authentication keypublic LispMapNotify.NotifyBuilder withAuthDataLength(short authDataLength)
LispMapNotify.NotifyBuilderwithAuthDataLength in interface LispMapNotify.NotifyBuilderauthDataLength - authentication data lengthpublic LispMapNotify.NotifyBuilder withAuthData(byte[] authData)
LispMapNotify.NotifyBuilderwithAuthData in interface LispMapNotify.NotifyBuilderauthData - authentication datapublic LispMapNotify.NotifyBuilder withMapRecords(List<LispMapRecord> mapRecords)
LispMapNotify.NotifyBuilderwithMapRecords in interface LispMapNotify.NotifyBuildermapRecords - a collection of map recordspublic LispMapNotify build()
LispMapNotify.NotifyBuilderbuild in interface LispMapNotify.NotifyBuilder