fun KeyValue(createIndex: Long? = null, flags: Long? = null, key: String? = null, lockIndex: Long? = null, modifyIndex: Long? = null, session: String? = null, value: String? = null): KeyValue
A function providing a DSL for building io.vertx.ext.consul.KeyValue objects.
Represents key/value pair stored in Consul
createIndex
- Set the internal index value that represents when the entry was created.
flags
- Set the flags attached to this entry. Clients can choose to use this however makes sense for their application.
lockIndex
- Set the number of times this key has successfully been acquired in a lock.
modifyIndex
- Set the last index that modified this key.