Class SecurityRolesDlsBitSetCache
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.SecurityRolesDlsBitSetCache
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class SecurityRolesDlsBitSetCache extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecurityRolesDlsBitSetCache.Builder
Builder forSecurityRolesDlsBitSetCache
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SecurityRolesDlsBitSetCache>
_DESERIALIZER
Json deserializer forSecurityRolesDlsBitSetCache
-
Constructor Summary
Constructors Constructor Description SecurityRolesDlsBitSetCache(SecurityRolesDlsBitSetCache.Builder builder)
SecurityRolesDlsBitSetCache(java.util.function.Function<SecurityRolesDlsBitSetCache.Builder,SecurityRolesDlsBitSetCache.Builder> fn)
-
Method Summary
Modifier and Type Method Description int
count()
Required - API name:count
java.lang.String
memory()
API name:memory
java.lang.Number
memoryInBytes()
Required - API name:memory_in_bytes
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
setupSecurityRolesDlsBitSetCacheDeserializer(DelegatingDeserializer<SecurityRolesDlsBitSetCache.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 forSecurityRolesDlsBitSetCache
-
-
Constructor Details
-
SecurityRolesDlsBitSetCache
-
SecurityRolesDlsBitSetCache
public SecurityRolesDlsBitSetCache(java.util.function.Function<SecurityRolesDlsBitSetCache.Builder,SecurityRolesDlsBitSetCache.Builder> fn)
-
-
Method Details
-
count
public int count()Required - API name:count
-
memory
@Nullable public java.lang.String memory()API name:memory
-
memoryInBytes
public java.lang.Number memoryInBytes()Required - API name:memory_in_bytes
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupSecurityRolesDlsBitSetCacheDeserializer
protected static void setupSecurityRolesDlsBitSetCacheDeserializer(DelegatingDeserializer<SecurityRolesDlsBitSetCache.Builder> op)
-