Class GetUserPrivilegesResponse
- java.lang.Object
-
- org.elasticsearch.client.security.GetUserPrivilegesResponse
-
public class GetUserPrivilegesResponse extends Object
The response for theSecurityClient.getUserPrivileges(RequestOptions)API. See the API docs
-
-
Constructor Summary
Constructors Constructor Description GetUserPrivilegesResponse(Collection<String> clusterPrivileges, Collection<GlobalPrivileges> globalPrivileges, Collection<UserIndicesPrivileges> indicesPrivileges, Collection<ApplicationResourcePrivileges> applicationPrivileges, Collection<String> runAsPrivilege)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static GetUserPrivilegesResponsefromXContent(XContentParser parser)Set<ApplicationResourcePrivileges>getApplicationPrivileges()Set<String>getClusterPrivileges()Set<GlobalPrivileges>getGlobalPrivileges()Set<UserIndicesPrivileges>getIndicesPrivileges()Set<String>getRunAsPrivilege()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
GetUserPrivilegesResponse
public GetUserPrivilegesResponse(Collection<String> clusterPrivileges, Collection<GlobalPrivileges> globalPrivileges, Collection<UserIndicesPrivileges> indicesPrivileges, Collection<ApplicationResourcePrivileges> applicationPrivileges, Collection<String> runAsPrivilege)
-
-
Method Detail
-
fromXContent
public static GetUserPrivilegesResponse fromXContent(XContentParser parser) throws IOException
- Throws:
IOException
-
getGlobalPrivileges
public Set<GlobalPrivileges> getGlobalPrivileges()
-
getIndicesPrivileges
public Set<UserIndicesPrivileges> getIndicesPrivileges()
-
getApplicationPrivileges
public Set<ApplicationResourcePrivileges> getApplicationPrivileges()
-
-