Class DataframeAnalyticsMemoryEstimation.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • expectedMemoryWithDisk

      public final DataframeAnalyticsMemoryEstimation.Builder expectedMemoryWithDisk​(java.lang.String value)
      Required - Estimated memory usage under the assumption that overflowing to disk is allowed during data frame analytics. expected_memory_with_disk is usually smaller than expected_memory_without_disk as using disk allows to limit the main memory needed to perform data frame analytics.

      API name: expected_memory_with_disk

    • expectedMemoryWithoutDisk

      public final DataframeAnalyticsMemoryEstimation.Builder expectedMemoryWithoutDisk​(java.lang.String value)
      Required - Estimated memory usage under the assumption that the whole data frame analytics should happen in memory (i.e. without overflowing to disk).

      API name: expected_memory_without_disk

    • build

      Specified by:
      build in interface ObjectBuilder<DataframeAnalyticsMemoryEstimation>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.