Class JvmStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<JvmStats.Builder>
co.elastic.clients.elasticsearch.ml.get_memory_stats.JvmStats.Builder
- All Implemented Interfaces:
WithJson<JvmStats.Builder>,ObjectBuilder<JvmStats>
- Enclosing class:
- JvmStats
public static class JvmStats.Builder extends WithJsonObjectBuilderBase<JvmStats.Builder> implements ObjectBuilder<JvmStats>
Builder for
JvmStats.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description JvmStatsbuild()Builds aJvmStats.JvmStats.BuilderheapMax(java.lang.String value)Maximum amount of memory available for use by the heap.JvmStats.BuilderheapMaxInBytes(int value)Required - Maximum amount of memory, in bytes, available for use by the heap.JvmStats.BuilderjavaInference(java.lang.String value)Amount of Java heap currently being used for caching inference models.JvmStats.BuilderjavaInferenceInBytes(int value)Required - Amount of Java heap, in bytes, currently being used for caching inference models.JvmStats.BuilderjavaInferenceMax(java.lang.String value)Maximum amount of Java heap to be used for caching inference models.JvmStats.BuilderjavaInferenceMaxInBytes(int value)Required - Maximum amount of Java heap, in bytes, to be used for caching inference models.protected JvmStats.Builderself()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
-
heapMax
Maximum amount of memory available for use by the heap.API name:
heap_max -
heapMaxInBytes
Required - Maximum amount of memory, in bytes, available for use by the heap.API name:
heap_max_in_bytes -
javaInference
Amount of Java heap currently being used for caching inference models.API name:
java_inference -
javaInferenceInBytes
Required - Amount of Java heap, in bytes, currently being used for caching inference models.API name:
java_inference_in_bytes -
javaInferenceMax
Maximum amount of Java heap to be used for caching inference models.API name:
java_inference_max -
javaInferenceMaxInBytes
Required - Maximum amount of Java heap, in bytes, to be used for caching inference models.API name:
java_inference_max_in_bytes -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<JvmStats.Builder>
-
build
Builds aJvmStats.- Specified by:
buildin interfaceObjectBuilder<JvmStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-