Class DataframeAnalyticsMemoryEstimation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataframeAnalyticsMemoryEstimation.Builder>
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsMemoryEstimation.Builder
- All Implemented Interfaces:
WithJson<DataframeAnalyticsMemoryEstimation.Builder>,ObjectBuilder<DataframeAnalyticsMemoryEstimation>
- Enclosing class:
- DataframeAnalyticsMemoryEstimation
public static class DataframeAnalyticsMemoryEstimation.Builder extends WithJsonObjectBuilderBase<DataframeAnalyticsMemoryEstimation.Builder> implements ObjectBuilder<DataframeAnalyticsMemoryEstimation>
Builder for
DataframeAnalyticsMemoryEstimation.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DataframeAnalyticsMemoryEstimationbuild()Builds aDataframeAnalyticsMemoryEstimation.DataframeAnalyticsMemoryEstimation.BuilderexpectedMemoryWithDisk(java.lang.String value)Required - Estimated memory usage under the assumption that overflowing to disk is allowed during data frame analytics.DataframeAnalyticsMemoryEstimation.BuilderexpectedMemoryWithoutDisk(java.lang.String value)Required - Estimated memory usage under the assumption that the whole data frame analytics should happen in memory (i.e.protected DataframeAnalyticsMemoryEstimation.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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 -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DataframeAnalyticsMemoryEstimation.Builder>
-
build
Builds aDataframeAnalyticsMemoryEstimation.- Specified by:
buildin interfaceObjectBuilder<DataframeAnalyticsMemoryEstimation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-