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 classGlobalPrivilege.BuilderBuilder forGlobalPrivilege. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GlobalPrivilege>_DESERIALIZERJson 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 ApplicationGlobalUserPrivilegesapplication()Required - API name:applicationvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGlobalPrivilegeDeserializer(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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupGlobalPrivilegeDeserializer
protected static void setupGlobalPrivilegeDeserializer(DelegatingDeserializer<GlobalPrivilege.Builder> op)
-