Class PrivilegesCheck
java.lang.Object
co.elastic.clients.elasticsearch.security.has_privileges_user_profile.PrivilegesCheck
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class PrivilegesCheck extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrivilegesCheck.Builder
Builder forPrivilegesCheck
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PrivilegesCheck>
_DESERIALIZER
Json deserializer forPrivilegesCheck
-
Method Summary
Modifier and Type Method Description java.util.List<ApplicationPrivilegesCheck>
application()
API name:application
java.util.List<ClusterPrivilege>
cluster()
A list of the cluster privileges that you want to check.java.util.List<IndexPrivilegesCheck>
index()
API name:index
static PrivilegesCheck
of(java.util.function.Function<PrivilegesCheck.Builder,ObjectBuilder<PrivilegesCheck>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupPrivilegesCheckDeserializer(ObjectDeserializer<PrivilegesCheck.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forPrivilegesCheck
-
-
Method Details
-
of
public static PrivilegesCheck of(java.util.function.Function<PrivilegesCheck.Builder,ObjectBuilder<PrivilegesCheck>> fn) -
application
API name:application
-
cluster
A list of the cluster privileges that you want to check.API name:
cluster
-
index
API name:index
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupPrivilegesCheckDeserializer
protected static void setupPrivilegesCheckDeserializer(ObjectDeserializer<PrivilegesCheck.Builder> op)
-