Class ApplicationPrivileges

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

@JsonpDeserializable
public final class ApplicationPrivileges
extends java.lang.Object
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • application

      public java.lang.String application()
      Required - The name of the application to which this entry applies.

      API name: application

    • privileges

      public java.util.List<java.lang.String> privileges()
      Required - A list of strings, where each element is the name of an application privilege or action.

      API name: privileges

    • resources

      public java.util.List<java.lang.String> resources()
      Required - A list resources to which the privileges are applied.

      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)
    • setupApplicationPrivilegesDeserializer

      protected static void setupApplicationPrivilegesDeserializer​(DelegatingDeserializer<ApplicationPrivileges.Builder> op)