Class ModelPlotConfig.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ModelPlotConfig.Builder>
co.elastic.clients.elasticsearch.ml.ModelPlotConfig.Builder
- All Implemented Interfaces:
WithJson<ModelPlotConfig.Builder>
,ObjectBuilder<ModelPlotConfig>
- Enclosing class:
- ModelPlotConfig
public static class ModelPlotConfig.Builder extends WithJsonObjectBuilderBase<ModelPlotConfig.Builder> implements ObjectBuilder<ModelPlotConfig>
Builder for
ModelPlotConfig
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ModelPlotConfig.Builder
annotationsEnabled(java.lang.Boolean value)
If true, enables calculation and storage of the model change annotations for each entity that is being analyzed.ModelPlotConfig
build()
Builds aModelPlotConfig
.ModelPlotConfig.Builder
enabled(java.lang.Boolean value)
If true, enables calculation and storage of the model bounds for each entity that is being analyzed.protected ModelPlotConfig.Builder
self()
ModelPlotConfig.Builder
terms(java.lang.String value)
Limits data collection to this comma separated list of partition or by field values.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
annotationsEnabled
If true, enables calculation and storage of the model change annotations for each entity that is being analyzed.API name:
annotations_enabled
-
enabled
If true, enables calculation and storage of the model bounds for each entity that is being analyzed.API name:
enabled
-
terms
Limits data collection to this comma separated list of partition or by field values. If terms are not specified or it is an empty string, no filtering is applied. Wildcards are not supported. Only the specified terms can be viewed when using the Single Metric Viewer.API name:
terms
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ModelPlotConfig.Builder>
-
build
Builds aModelPlotConfig
.- Specified by:
build
in interfaceObjectBuilder<ModelPlotConfig>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-