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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAnalysisMemoryLimit.modelMemoryLimit(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, _mapPutAll
-
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:
NullPointerException- if some of the required fields are null.
-