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
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description MemStats.BuilderadjustedTotal(java.lang.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.MemStats.BuilderadjustedTotalInBytes(int value)Required - If the amount of physical memory has been overridden using thees.total_memory_bytessystem property then this reports the overridden value in bytes.MemStatsbuild()Builds aMemStats.MemStats.Builderml(MemMlStats value)Required - Contains statistics about machine learning use of native memory on the node.MemStats.Builderml(java.util.function.Function<MemMlStats.Builder,ObjectBuilder<MemMlStats>> fn)Required - Contains statistics about machine learning use of native memory on the node.protected MemStats.Builderself()MemStats.Buildertotal(java.lang.String value)Total amount of physical memory.MemStats.BuildertotalInBytes(int value)Required - Total amount of physical memory in bytes.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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_bytessystem 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
public final MemStats.Builder ml(java.util.function.Function<MemMlStats.Builder,ObjectBuilder<MemMlStats>> fn)Required - Contains statistics about machine learning use of native memory on the node.API name:
ml -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<MemStats.Builder>
-
build
Builds aMemStats.- Specified by:
buildin interfaceObjectBuilder<MemStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-