Class AnalysisMemoryLimit
java.lang.Object
co.elastic.clients.elasticsearch.ml.AnalysisMemoryLimit
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class AnalysisMemoryLimit extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnalysisMemoryLimit.Builder
Builder forAnalysisMemoryLimit
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AnalysisMemoryLimit>
_DESERIALIZER
Json deserializer forAnalysisMemoryLimit
-
Method Summary
Modifier and Type Method Description java.lang.String
modelMemoryLimit()
Required - Limits can be applied for the resources required to hold the mathematical models in memory.static AnalysisMemoryLimit
of(java.util.function.Function<AnalysisMemoryLimit.Builder,ObjectBuilder<AnalysisMemoryLimit>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupAnalysisMemoryLimitDeserializer(ObjectDeserializer<AnalysisMemoryLimit.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAnalysisMemoryLimit
-
-
Method Details
-
of
public static AnalysisMemoryLimit of(java.util.function.Function<AnalysisMemoryLimit.Builder,ObjectBuilder<AnalysisMemoryLimit>> fn) -
modelMemoryLimit
public final java.lang.String 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
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupAnalysisMemoryLimitDeserializer
protected static void setupAnalysisMemoryLimitDeserializer(ObjectDeserializer<AnalysisMemoryLimit.Builder> op)
-