Class GetRolesRequest
java.lang.Object
org.elasticsearch.client.security.GetRolesRequest
- All Implemented Interfaces:
Validatable
public final class GetRolesRequest extends java.lang.Object implements Validatable
Request object to retrieve roles from the native roles store
-
Field Summary
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY -
Constructor Summary
Constructors Constructor Description GetRolesRequest(java.lang.String... roleNames) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.Set<java.lang.String>getRoleNames()inthashCode()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.client.Validatable
validate
-
Constructor Details
-
GetRolesRequest
public GetRolesRequest(java.lang.String... roleNames)
-
-
Method Details
-
getRoleNames
public java.util.Set<java.lang.String> getRoleNames() -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-