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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDataframeAnalyticsMemoryEstimation.expectedMemoryWithDisk(String value) Required - Estimated memory usage under the assumption that overflowing to disk is allowed during data frame analytics.expectedMemoryWithoutDisk(String value) Required - Estimated memory usage under the assumption that the whole data frame analytics should happen in memory (i.e.self()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expectedMemoryWithDisk
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
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:
NullPointerException- if some of the required fields are null.
-