Class GlobalPrivilege
java.lang.Object
co.elastic.clients.elasticsearch.security.GlobalPrivilege
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class GlobalPrivilege extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GlobalPrivilege.Builder
Builder forGlobalPrivilege
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GlobalPrivilege>
_DESERIALIZER
Json deserializer forGlobalPrivilege
-
Constructor Summary
Constructors Constructor Description GlobalPrivilege(GlobalPrivilege.Builder builder)
GlobalPrivilege(java.util.function.Function<GlobalPrivilege.Builder,GlobalPrivilege.Builder> fn)
-
Method Summary
Modifier and Type Method Description ApplicationGlobalUserPrivileges
application()
Required - API name:application
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
setupGlobalPrivilegeDeserializer(DelegatingDeserializer<GlobalPrivilege.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGlobalPrivilege
-
-
Constructor Details
-
GlobalPrivilege
-
GlobalPrivilege
public GlobalPrivilege(java.util.function.Function<GlobalPrivilege.Builder,GlobalPrivilege.Builder> fn)
-
-
Method Details
-
application
Required - API name:application
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupGlobalPrivilegeDeserializer
protected static void setupGlobalPrivilegeDeserializer(DelegatingDeserializer<GlobalPrivilege.Builder> op)
-