Package io.vertx.ext.consul.token
Class CloneAclTokenOptions
- java.lang.Object
-
- io.vertx.ext.consul.token.CloneAclTokenOptions
-
public class CloneAclTokenOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description CloneAclTokenOptions()
CloneAclTokenOptions(JsonObject json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloneAclTokenOptions
setDescription(String description)
Sets an optional descriptionCloneAclTokenOptions
setNamespace(String namespace)
Sets an optional namespace Default value is ns URL query parameter or in the X-Consul-Namespace header, or 'default' namespace.JsonObject
toJson()
-
-
-
Constructor Detail
-
CloneAclTokenOptions
public CloneAclTokenOptions()
-
CloneAclTokenOptions
public CloneAclTokenOptions(JsonObject json)
-
-
Method Detail
-
toJson
public JsonObject toJson()
-
setDescription
public CloneAclTokenOptions setDescription(String description)
Sets an optional description- Parameters:
description
- Free form human-readable description
-
setNamespace
public CloneAclTokenOptions setNamespace(String namespace)
Sets an optional namespace Default value is ns URL query parameter or in the X-Consul-Namespace header, or 'default' namespace.- Parameters:
namespace
-
-
-