Class MlDataFrameAnalyticsJobsMemory.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<MlDataFrameAnalyticsJobsMemory.Builder>
co.elastic.clients.elasticsearch.xpack.usage.MlDataFrameAnalyticsJobsMemory.Builder
- All Implemented Interfaces:
WithJson<MlDataFrameAnalyticsJobsMemory.Builder>,ObjectBuilder<MlDataFrameAnalyticsJobsMemory>
- Enclosing class:
- MlDataFrameAnalyticsJobsMemory
public static class MlDataFrameAnalyticsJobsMemory.Builder extends WithJsonObjectBuilderBase<MlDataFrameAnalyticsJobsMemory.Builder> implements ObjectBuilder<MlDataFrameAnalyticsJobsMemory>
Builder for
MlDataFrameAnalyticsJobsMemory.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description MlDataFrameAnalyticsJobsMemorybuild()Builds aMlDataFrameAnalyticsJobsMemory.MlDataFrameAnalyticsJobsMemory.BuilderpeakUsageBytes(JobStatistics value)Required - API name:peak_usage_bytesMlDataFrameAnalyticsJobsMemory.BuilderpeakUsageBytes(java.util.function.Function<JobStatistics.Builder,ObjectBuilder<JobStatistics>> fn)Required - API name:peak_usage_bytesprotected MlDataFrameAnalyticsJobsMemory.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
-
peakUsageBytes
Required - API name:peak_usage_bytes -
peakUsageBytes
public final MlDataFrameAnalyticsJobsMemory.Builder peakUsageBytes(java.util.function.Function<JobStatistics.Builder,ObjectBuilder<JobStatistics>> fn)Required - API name:peak_usage_bytes -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<MlDataFrameAnalyticsJobsMemory.Builder>
-
build
Builds aMlDataFrameAnalyticsJobsMemory.- Specified by:
buildin interfaceObjectBuilder<MlDataFrameAnalyticsJobsMemory>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-