Class AnalysisMemoryLimit.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AnalysisMemoryLimit.Builder>
co.elastic.clients.elasticsearch.ml.AnalysisMemoryLimit.Builder
- All Implemented Interfaces:
WithJson<AnalysisMemoryLimit.Builder>,ObjectBuilder<AnalysisMemoryLimit>
- Enclosing class:
- AnalysisMemoryLimit
public static class AnalysisMemoryLimit.Builder extends WithJsonObjectBuilderBase<AnalysisMemoryLimit.Builder> implements ObjectBuilder<AnalysisMemoryLimit>
Builder for
AnalysisMemoryLimit.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description AnalysisMemoryLimitbuild()Builds aAnalysisMemoryLimit.AnalysisMemoryLimit.BuildermodelMemoryLimit(java.lang.String value)Required - Limits can be applied for the resources required to hold the mathematical models in memory.protected AnalysisMemoryLimit.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
-
modelMemoryLimit
Required - Limits can be applied for the resources required to hold the mathematical models in memory. These limits are approximate and can be set per job. They do not control the memory used by other processes, for example the Elasticsearch Java processes.API name:
model_memory_limit -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<AnalysisMemoryLimit.Builder>
-
build
Builds aAnalysisMemoryLimit.- Specified by:
buildin interfaceObjectBuilder<AnalysisMemoryLimit>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-