Class MemStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<MemStats.Builder>
co.elastic.clients.elasticsearch.ml.get_memory_stats.MemStats.Builder
- All Implemented Interfaces:
WithJson<MemStats.Builder>
,ObjectBuilder<MemStats>
- Enclosing class:
- MemStats
public static class MemStats.Builder
extends WithJsonObjectBuilderBase<MemStats.Builder>
implements ObjectBuilder<MemStats>
Builder for
MemStats
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal MemStats.Builder
adjustedTotal
(String value) If the amount of physical memory has been overridden using the es.total_memory_bytes system property then this reports the overridden value.final MemStats.Builder
adjustedTotalInBytes
(int value) Required - If the amount of physical memory has been overridden using thees.total_memory_bytes
system property then this reports the overridden value in bytes.build()
Builds aMemStats
.final MemStats.Builder
ml
(MemMlStats value) Required - Contains statistics about machine learning use of native memory on the node.final MemStats.Builder
Required - Contains statistics about machine learning use of native memory on the node.protected MemStats.Builder
self()
final MemStats.Builder
Total amount of physical memory.final MemStats.Builder
totalInBytes
(int value) Required - Total amount of physical memory in bytes.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
adjustedTotal
If the amount of physical memory has been overridden using the es.total_memory_bytes system property then this reports the overridden value. Otherwise it reports the same value as total.API name:
adjusted_total
-
adjustedTotalInBytes
Required - If the amount of physical memory has been overridden using thees.total_memory_bytes
system property then this reports the overridden value in bytes. Otherwise it reports the same value astotal_in_bytes
.API name:
adjusted_total_in_bytes
-
total
Total amount of physical memory.API name:
total
-
totalInBytes
Required - Total amount of physical memory in bytes.API name:
total_in_bytes
-
ml
Required - Contains statistics about machine learning use of native memory on the node.API name:
ml
-
ml
Required - Contains statistics about machine learning use of native memory on the node.API name:
ml
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<MemStats.Builder>
-
build
Builds aMemStats
.- Specified by:
build
in interfaceObjectBuilder<MemStats>
- Throws:
NullPointerException
- if some of the required fields are null.
-