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>
Builder for
DataframeAnalyticsMemoryEstimation
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DataframeAnalyticsMemoryEstimation
build()
Builds aDataframeAnalyticsMemoryEstimation
.DataframeAnalyticsMemoryEstimation.Builder
expectedMemoryWithDisk(java.lang.String value)
Required - Estimated memory usage under the assumption that overflowing to disk is allowed during data frame analytics.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.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
-
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
Builds aDataframeAnalyticsMemoryEstimation
.- Specified by:
build
in interfaceObjectBuilder<DataframeAnalyticsMemoryEstimation>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-