Class ApplicationPrivilegesCheck

java.lang.Object
co.elastic.clients.elasticsearch.security.has_privileges.ApplicationPrivilegesCheck
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class ApplicationPrivilegesCheck
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

    • application

      public final java.lang.String application()
      Required - The name of the application.

      API name: application

    • privileges

      public final java.util.List<java.lang.String> privileges()
      Required - A list of the privileges that you want to check for the specified resources. May be either application privilege names, or the names of actions that are granted by those privileges

      API name: privileges

    • resources

      public final java.util.List<java.lang.String> resources()
      Required - A list of resource names against which the privileges should be checked

      API name: resources

    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupApplicationPrivilegesCheckDeserializer

      protected static void setupApplicationPrivilegesCheckDeserializer​(ObjectDeserializer<ApplicationPrivilegesCheck.Builder> op)