Class DataframeAnalyticsStatsOutlierDetection.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataframeAnalyticsStatsOutlierDetection.Builder>
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsStatsOutlierDetection.Builder
- All Implemented Interfaces:
WithJson<DataframeAnalyticsStatsOutlierDetection.Builder>
,ObjectBuilder<DataframeAnalyticsStatsOutlierDetection>
- Enclosing class:
- DataframeAnalyticsStatsOutlierDetection
public static class DataframeAnalyticsStatsOutlierDetection.Builder
extends WithJsonObjectBuilderBase<DataframeAnalyticsStatsOutlierDetection.Builder>
implements ObjectBuilder<DataframeAnalyticsStatsOutlierDetection>
Builder for
DataframeAnalyticsStatsOutlierDetection
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDataframeAnalyticsStatsOutlierDetection
.Required - The list of job parameters specified by the user or determined by algorithmic heuristics.parameters
(Function<OutlierDetectionParameters.Builder, ObjectBuilder<OutlierDetectionParameters>> fn) Required - The list of job parameters specified by the user or determined by algorithmic heuristics.self()
timestamp
(long value) Required - The timestamp when the statistics were reported in milliseconds since the epoch.timingStats
(TimingStats value) Required - An object containing time statistics about the data frame analytics job.Required - An object containing time statistics about the data frame analytics job.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
-
parameters
public final DataframeAnalyticsStatsOutlierDetection.Builder parameters(OutlierDetectionParameters value) Required - The list of job parameters specified by the user or determined by algorithmic heuristics.API name:
parameters
-
parameters
public final DataframeAnalyticsStatsOutlierDetection.Builder parameters(Function<OutlierDetectionParameters.Builder, ObjectBuilder<OutlierDetectionParameters>> fn) Required - The list of job parameters specified by the user or determined by algorithmic heuristics.API name:
parameters
-
timestamp
Required - The timestamp when the statistics were reported in milliseconds since the epoch.API name:
timestamp
-
timingStats
Required - An object containing time statistics about the data frame analytics job.API name:
timing_stats
-
timingStats
public final DataframeAnalyticsStatsOutlierDetection.Builder timingStats(Function<TimingStats.Builder, ObjectBuilder<TimingStats>> fn) Required - An object containing time statistics about the data frame analytics job.API name:
timing_stats
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<DataframeAnalyticsStatsOutlierDetection.Builder>
-
build
Builds aDataframeAnalyticsStatsOutlierDetection
.- Specified by:
build
in interfaceObjectBuilder<DataframeAnalyticsStatsOutlierDetection>
- Throws:
NullPointerException
- if some of the required fields are null.
-