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
    boolean equals​(java.lang.Object o)  
    java.util.Set<java.lang.String> getRoleNames()  
    int hashCode()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object