Class AdaptiveAllocationsSettings
java.lang.Object
co.elastic.clients.elasticsearch.ml.AdaptiveAllocationsSettings
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class AdaptiveAllocationsSettings
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AdaptiveAllocationsSettings>Json deserializer forAdaptiveAllocationsSettings -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanenabled()Required - API name:enabledfinal IntegerAPI name:max_number_of_allocationsfinal IntegerAPI name:min_number_of_allocationsstatic AdaptiveAllocationsSettingsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupAdaptiveAllocationsSettingsDeserializer(ObjectDeserializer<AdaptiveAllocationsSettings.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAdaptiveAllocationsSettings
-
-
Method Details
-
of
-
enabled
public final boolean enabled()Required - API name:enabled -
minNumberOfAllocations
API name:min_number_of_allocations -
maxNumberOfAllocations
API name:max_number_of_allocations -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAdaptiveAllocationsSettingsDeserializer
protected static void setupAdaptiveAllocationsSettingsDeserializer(ObjectDeserializer<AdaptiveAllocationsSettings.Builder> op)
-