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 -
Method Summary
Modifier and TypeMethodDescriptionfinal MemStats.BuilderadjustedTotal(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.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.build()Builds aMemStats.final MemStats.Builderml(MemMlStats value) Required - Contains statistics about machine learning use of native memory on the node.final MemStats.BuilderRequired - Contains statistics about machine learning use of native memory on the node.protected MemStats.Builderself()final MemStats.BuilderTotal amount of physical memory.final 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, _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_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
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:
NullPointerException- if some of the required fields are null.
-