Class AuthRoleListResponse

java.lang.Object
io.etcd.jetcd.impl.AbstractResponse<io.etcd.jetcd.api.AuthRoleListResponse>
io.etcd.jetcd.auth.AuthRoleListResponse
All Implemented Interfaces:
Response

public class AuthRoleListResponse extends AbstractResponse<io.etcd.jetcd.api.AuthRoleListResponse>
AuthRoleListResponse returned by Auth.roleList() contains a header and a list of roles.
  • Constructor Details

    • AuthRoleListResponse

      public AuthRoleListResponse(io.etcd.jetcd.api.AuthRoleListResponse response)
  • Method Details

    • getRoles

      public List<String> getRoles()
      Returns a list of roles.
      Returns:
      the roles.