Package io.etcd.jetcd.auth
Class AuthRoleListResponse
java.lang.Object
io.etcd.jetcd.impl.AbstractResponse<io.etcd.jetcd.api.AuthRoleListResponse>
io.etcd.jetcd.auth.AuthRoleListResponse
- All Implemented Interfaces:
Response
AuthRoleListResponse returned by
Auth.roleList() contains a header and
a list of roles.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.etcd.jetcd.Response
Response.Header -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.etcd.jetcd.impl.AbstractResponse
getHeader, getResponse, getResponseHeader, toString
-
Constructor Details
-
AuthRoleListResponse
public AuthRoleListResponse(io.etcd.jetcd.api.AuthRoleListResponse response)
-
-
Method Details
-
getRoles
Returns a list of roles.- Returns:
- the roles.
-