Class JobStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<JobStats.Builder>
co.elastic.clients.elasticsearch.ml.JobStats.Builder
- All Implemented Interfaces:
- WithJson<JobStats.Builder>,- ObjectBuilder<JobStats>
- Enclosing class:
- JobStats
public static class JobStats.Builder
extends WithJsonObjectBuilderBase<JobStats.Builder>
implements ObjectBuilder<JobStats>
Builder for 
JobStats.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal JobStats.BuilderassignmentExplanation(String value) For open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.build()Builds aJobStats.final JobStats.BuilderdataCounts(DataCounts value) Required - An object that describes the quantity of input to the job and any related error counts.final JobStats.BuilderRequired - An object that describes the quantity of input to the job and any related error counts.final JobStats.BuilderIndicates that the process of deleting the job is in progress but not yet completed.final JobStats.BuilderRequired - An object that provides statistical information about forecasts belonging to this job.final JobStats.BuilderRequired - An object that provides statistical information about forecasts belonging to this job.final JobStats.BuilderRequired - Identifier for the anomaly detection job.final JobStats.BuildermodelSizeStats(ModelSizeStats value) Required - An object that provides information about the size and contents of the model.final JobStats.BuilderRequired - An object that provides information about the size and contents of the model.final JobStats.Buildernode(DiscoveryNodeCompact value) Contains properties for the node that runs the job.final JobStats.BuilderContains properties for the node that runs the job.final JobStats.BuilderFor open jobs only, the elapsed time for which the job has been open.protected JobStats.Builderself()final JobStats.BuilderRequired - The status of the anomaly detection job, which can be one of the following values:closed,closing,failed,opened,opening.final JobStats.BuildertimingStats(JobTimingStats value) Required - An object that provides statistical information about timing aspect of this job.final JobStats.BuilderRequired - An object that provides statistical information about timing aspect of this job.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
assignmentExplanationFor open anomaly detection jobs only, contains messages relating to the selection of a node to run the job.API name: assignment_explanation
- 
dataCountsRequired - An object that describes the quantity of input to the job and any related error counts. Thedata_countvalues are cumulative for the lifetime of a job. If a model snapshot is reverted or old results are deleted, the job counts are not reset.API name: data_counts
- 
dataCountsRequired - An object that describes the quantity of input to the job and any related error counts. Thedata_countvalues are cumulative for the lifetime of a job. If a model snapshot is reverted or old results are deleted, the job counts are not reset.API name: data_counts
- 
forecastsStatsRequired - An object that provides statistical information about forecasts belonging to this job. Some statistics are omitted if no forecasts have been made.API name: forecasts_stats
- 
forecastsStatspublic final JobStats.Builder forecastsStats(Function<JobForecastStatistics.Builder, ObjectBuilder<JobForecastStatistics>> fn) Required - An object that provides statistical information about forecasts belonging to this job. Some statistics are omitted if no forecasts have been made.API name: forecasts_stats
- 
jobIdRequired - Identifier for the anomaly detection job.API name: job_id
- 
modelSizeStatsRequired - An object that provides information about the size and contents of the model.API name: model_size_stats
- 
modelSizeStatspublic final JobStats.Builder modelSizeStats(Function<ModelSizeStats.Builder, ObjectBuilder<ModelSizeStats>> fn) Required - An object that provides information about the size and contents of the model.API name: model_size_stats
- 
nodeContains properties for the node that runs the job. This information is available only for open jobs.API name: node
- 
nodepublic final JobStats.Builder node(Function<DiscoveryNodeCompact.Builder, ObjectBuilder<DiscoveryNodeCompact>> fn) Contains properties for the node that runs the job. This information is available only for open jobs.API name: node
- 
openTimeFor open jobs only, the elapsed time for which the job has been open.API name: open_time
- 
stateRequired - The status of the anomaly detection job, which can be one of the following values:closed,closing,failed,opened,opening.API name: state
- 
timingStatsRequired - An object that provides statistical information about timing aspect of this job.API name: timing_stats
- 
timingStatspublic final JobStats.Builder timingStats(Function<JobTimingStats.Builder, ObjectBuilder<JobTimingStats>> fn) Required - An object that provides statistical information about timing aspect of this job.API name: timing_stats
- 
deletingIndicates that the process of deleting the job is in progress but not yet completed. It is only reported whentrue.API name: deleting
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<JobStats.Builder>
 
- 
buildBuilds aJobStats.- Specified by:
- buildin interface- ObjectBuilder<JobStats>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-