Class PolicyLink

java.lang.Object
io.vertx.ext.consul.token.PolicyLink

public class PolicyLink extends Object
It is an object with an "ID" and/or "Name" field to specify a policy
  • Constructor Details

    • PolicyLink

      public PolicyLink()
    • PolicyLink

      public PolicyLink(JsonObject json)
  • Method Details

    • toJson

      public JsonObject toJson()
    • setId

      public PolicyLink setId(String id)
      Sets a policy id
      Parameters:
      id - uuid
    • setName

      public PolicyLink setName(String name)
      Sets a policy name
      Parameters:
      name -
    • getId

      public String getId()
    • getName

      public String getName()