Class ModelPlotConfig.Builder

java.lang.Object
co.elastic.clients.elasticsearch.ml.ModelPlotConfig.Builder
All Implemented Interfaces:
ObjectBuilder<ModelPlotConfig>
Enclosing class:
ModelPlotConfig

public static class ModelPlotConfig.Builder
extends java.lang.Object
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 a ModelPlotConfig.
    ModelPlotConfig.Builder enabled​(java.lang.Boolean value)
    If true, enables calculation and storage of the model bounds for each entity that is being analyzed.
    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 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • annotationsEnabled

      public ModelPlotConfig.Builder annotationsEnabled​(@Nullable java.lang.Boolean value)
      If true, enables calculation and storage of the model change annotations for each entity that is being analyzed.

      API name: annotations_enabled

    • enabled

      public ModelPlotConfig.Builder enabled​(@Nullable java.lang.Boolean value)
      If true, enables calculation and storage of the model bounds for each entity that is being analyzed.

      API name: enabled

    • terms

      public ModelPlotConfig.Builder terms​(@Nullable java.lang.String value)
      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

    • build

      public ModelPlotConfig build()
      Builds a ModelPlotConfig.
      Specified by:
      build in interface ObjectBuilder<ModelPlotConfig>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.