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 classAnalysisMemoryLimit.BuilderBuilder forAnalysisMemoryLimit. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AnalysisMemoryLimit>_DESERIALIZERJson deserializer forAnalysisMemoryLimit -
Method Summary
Modifier and Type Method Description java.lang.StringmodelMemoryLimit()Required - Limits can be applied for the resources required to hold the mathematical models in memory.static AnalysisMemoryLimitof(java.util.function.Function<AnalysisMemoryLimit.Builder,ObjectBuilder<AnalysisMemoryLimit>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAnalysisMemoryLimitDeserializer(ObjectDeserializer<AnalysisMemoryLimit.Builder> op)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupAnalysisMemoryLimitDeserializer
protected static void setupAnalysisMemoryLimitDeserializer(ObjectDeserializer<AnalysisMemoryLimit.Builder> op)
-