Class ModelPlotConfig.Builder

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

public static class ModelPlotConfig.Builder
extends ObjectBuilderBase
implements ObjectBuilder<ModelPlotConfig>
Builder for ModelPlotConfig.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • annotationsEnabled

      public final 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 final 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 final 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.