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 classPrivilegesCheck.BuilderBuilder forPrivilegesCheck. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<PrivilegesCheck>_DESERIALIZERJson deserializer forPrivilegesCheck -
Method Summary
Modifier and Type Method Description java.util.List<ApplicationPrivilegesCheck>application()API name:applicationjava.util.List<ClusterPrivilege>cluster()A list of the cluster privileges that you want to check.java.util.List<IndexPrivilegesCheck>index()API name:indexstatic PrivilegesCheckof(java.util.function.Function<PrivilegesCheck.Builder,ObjectBuilder<PrivilegesCheck>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupPrivilegesCheckDeserializer(ObjectDeserializer<PrivilegesCheck.Builder> op)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupPrivilegesCheckDeserializer
protected static void setupPrivilegesCheckDeserializer(ObjectDeserializer<PrivilegesCheck.Builder> op)
-