Class Limits.Builder

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

public static class Limits.Builder
extends java.lang.Object
implements ObjectBuilder<Limits>
Builder for Limits.
  • Constructor Summary

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    Limits build()
    Builds a Limits.
    Limits.Builder effectiveMaxModelMemoryLimit​(java.lang.String value)
    API name: effective_max_model_memory_limit
    Limits.Builder maxModelMemoryLimit​(java.lang.String value)
    API name: max_model_memory_limit
    Limits.Builder totalMlMemory​(java.lang.String value)
    API name: total_ml_memory

    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

    • maxModelMemoryLimit

      public Limits.Builder maxModelMemoryLimit​(@Nullable java.lang.String value)
      API name: max_model_memory_limit
    • effectiveMaxModelMemoryLimit

      public Limits.Builder effectiveMaxModelMemoryLimit​(java.lang.String value)
      API name: effective_max_model_memory_limit
    • totalMlMemory

      public Limits.Builder totalMlMemory​(java.lang.String value)
      API name: total_ml_memory
    • build

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