Class ApplicationPrivilegesCheck
java.lang.Object
co.elastic.clients.elasticsearch.security.has_privileges.ApplicationPrivilegesCheck
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class ApplicationPrivilegesCheck
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ApplicationPrivilegesCheck>Json deserializer forApplicationPrivilegesCheck -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - The name of the application.static ApplicationPrivilegesCheckRequired - A list of the privileges that you want to check for the specified resources.Required - A list of resource names against which the privileges should be checked.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupApplicationPrivilegesCheckDeserializer(ObjectDeserializer<ApplicationPrivilegesCheck.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forApplicationPrivilegesCheck
-
-
Method Details
-
of
public static ApplicationPrivilegesCheck of(Function<ApplicationPrivilegesCheck.Builder, ObjectBuilder<ApplicationPrivilegesCheck>> fn) -
application
Required - The name of the application.API name:
application -
privileges
Required - A list of the privileges that you want to check for the specified resources. It may be either application privilege names or the names of actions that are granted by those privilegesAPI name:
privileges -
resources
Required - A list of resource names against which the privileges should be checked.API name:
resources -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupApplicationPrivilegesCheckDeserializer
protected static void setupApplicationPrivilegesCheckDeserializer(ObjectDeserializer<ApplicationPrivilegesCheck.Builder> op)
-