Class ApplicationPrivilege

java.lang.Object
org.elasticsearch.client.security.user.privileges.ApplicationPrivilege
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public final class ApplicationPrivilege extends Object implements org.elasticsearch.xcontent.ToXContentObject
Represents an application specific privilege. The application name, privilege name, actions and metadata are completely managed by the client and can contain arbitrary string values.
  • Field Details

  • Constructor Details

  • Method Details

    • getApplication

      public String getApplication()
    • getName

      public String getName()
    • getActions

      public Set<String> getActions()
    • getMetadata

      public Map<String,Object> getMetadata()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • builder

      public static ApplicationPrivilege.Builder builder()
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException