Class DataframeAnalyticsStatsProgress.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataframeAnalyticsStatsProgress.Builder>
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsStatsProgress.Builder
- All Implemented Interfaces:
WithJson<DataframeAnalyticsStatsProgress.Builder>
,ObjectBuilder<DataframeAnalyticsStatsProgress>
- Enclosing class:
- DataframeAnalyticsStatsProgress
public static class DataframeAnalyticsStatsProgress.Builder
extends WithJsonObjectBuilderBase<DataframeAnalyticsStatsProgress.Builder>
implements ObjectBuilder<DataframeAnalyticsStatsProgress>
Builder for
DataframeAnalyticsStatsProgress
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDataframeAnalyticsStatsProgress
.Required - Defines the phase of the data frame analytics job.progressPercent
(int value) Required - The progress that the data frame analytics job has made expressed in percentage.protected DataframeAnalyticsStatsProgress.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
phase
Required - Defines the phase of the data frame analytics job.API name:
phase
-
progressPercent
Required - The progress that the data frame analytics job has made expressed in percentage.API name:
progress_percent
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<DataframeAnalyticsStatsProgress.Builder>
-
build
Builds aDataframeAnalyticsStatsProgress
.- Specified by:
build
in interfaceObjectBuilder<DataframeAnalyticsStatsProgress>
- Throws:
NullPointerException
- if some of the required fields are null.
-