Class SecurityRolesDlsBitSetCache.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SecurityRolesDlsBitSetCache.Builder>
co.elastic.clients.elasticsearch.xpack.usage.SecurityRolesDlsBitSetCache.Builder
- All Implemented Interfaces:
WithJson<SecurityRolesDlsBitSetCache.Builder>,ObjectBuilder<SecurityRolesDlsBitSetCache>
- Enclosing class:
- SecurityRolesDlsBitSetCache
public static class SecurityRolesDlsBitSetCache.Builder
extends WithJsonObjectBuilderBase<SecurityRolesDlsBitSetCache.Builder>
implements ObjectBuilder<SecurityRolesDlsBitSetCache>
Builder for
SecurityRolesDlsBitSetCache.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSecurityRolesDlsBitSetCache.count(int value) Required - Number of entries in the cache.evictions(long value) Required - Total number of cache evictions.hits(long value) Required - Total number of cache hits.hitsTimeInMillis(long value) Required - Total combined time spent in cache for hits in milliseconds.Human-readable amount of memory taken up by the cache.memoryInBytes(Number value) Required - Memory taken up by the cache in bytes.misses(long value) Required - Total number of cache misses.missesTimeInMillis(long value) Required - Total combined time spent in cache for misses in milliseconds.protected SecurityRolesDlsBitSetCache.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
Required - Number of entries in the cache.API name:
count -
memory
Human-readable amount of memory taken up by the cache.API name:
memory -
memoryInBytes
Required - Memory taken up by the cache in bytes.API name:
memory_in_bytes -
hits
Required - Total number of cache hits.API name:
hits -
misses
Required - Total number of cache misses.API name:
misses -
evictions
Required - Total number of cache evictions.API name:
evictions -
hitsTimeInMillis
Required - Total combined time spent in cache for hits in milliseconds.API name:
hits_time_in_millis -
missesTimeInMillis
Required - Total combined time spent in cache for misses in milliseconds.API name:
misses_time_in_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SecurityRolesDlsBitSetCache.Builder>
-
build
Builds aSecurityRolesDlsBitSetCache.- Specified by:
buildin interfaceObjectBuilder<SecurityRolesDlsBitSetCache>- Throws:
NullPointerException- if some of the required fields are null.
-