Class TrainedModelsRecord.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.ml_trained_models.TrainedModelsRecord.Builder
- All Implemented Interfaces:
ObjectBuilder<TrainedModelsRecord>
- Enclosing class:
- TrainedModelsRecord
public static class TrainedModelsRecord.Builder extends ObjectBuilderBase implements ObjectBuilder<TrainedModelsRecord>
Builder for
TrainedModelsRecord
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description TrainedModelsRecord
build()
Builds aTrainedModelsRecord
.TrainedModelsRecord.Builder
createdBy(java.lang.String value)
who created the modelTrainedModelsRecord.Builder
createTime(java.lang.String value)
The time the model was createdTrainedModelsRecord.Builder
dataFrameAnalysis(java.lang.String value)
The analysis used by the data frame to build the modelTrainedModelsRecord.Builder
dataFrameCreateTime(java.lang.String value)
The time the data frame analytics config was createdTrainedModelsRecord.Builder
dataFrameId(java.lang.String value)
The data frame analytics config id that created the model (if still available)TrainedModelsRecord.Builder
dataFrameSourceIndex(java.lang.String value)
The source index used to train in the data frame analysisTrainedModelsRecord.Builder
description(java.lang.String value)
The model descriptionTrainedModelsRecord.Builder
heapSize(java.lang.String value)
the estimated heap size to keep the model in memoryTrainedModelsRecord.Builder
id(java.lang.String value)
the trained model idTrainedModelsRecord.Builder
ingestCount(java.lang.String value)
The total number of docs processed by the modelTrainedModelsRecord.Builder
ingestCurrent(java.lang.String value)
The total documents currently being handled by the modelTrainedModelsRecord.Builder
ingestFailed(java.lang.String value)
The total count of failed ingest attempts with this modelTrainedModelsRecord.Builder
ingestPipelines(java.lang.String value)
The number of pipelines referencing the modelTrainedModelsRecord.Builder
ingestTime(java.lang.String value)
The total time spent processing docs with this modelTrainedModelsRecord.Builder
license(java.lang.String value)
The license level of the modelTrainedModelsRecord.Builder
operations(java.lang.String value)
the estimated number of operations to use the modelTrainedModelsRecord.Builder
version(java.lang.String value)
The version of Elasticsearch when the model was createdMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
the trained model idAPI name:
id
-
createdBy
who created the modelAPI name:
created_by
-
heapSize
the estimated heap size to keep the model in memoryAPI name:
heap_size
-
operations
the estimated number of operations to use the modelAPI name:
operations
-
license
The license level of the modelAPI name:
license
-
createTime
The time the model was createdAPI name:
create_time
-
version
The version of Elasticsearch when the model was createdAPI name:
version
-
description
The model descriptionAPI name:
description
-
ingestPipelines
The number of pipelines referencing the modelAPI name:
ingest.pipelines
-
ingestCount
The total number of docs processed by the modelAPI name:
ingest.count
-
ingestTime
The total time spent processing docs with this modelAPI name:
ingest.time
-
ingestCurrent
The total documents currently being handled by the modelAPI name:
ingest.current
-
ingestFailed
The total count of failed ingest attempts with this modelAPI name:
ingest.failed
-
dataFrameId
The data frame analytics config id that created the model (if still available)API name:
data_frame.id
-
dataFrameCreateTime
The time the data frame analytics config was createdAPI name:
data_frame.create_time
-
dataFrameSourceIndex
The source index used to train in the data frame analysisAPI name:
data_frame.source_index
-
dataFrameAnalysis
The analysis used by the data frame to build the modelAPI name:
data_frame.analysis
-
build
Builds aTrainedModelsRecord
.- Specified by:
build
in interfaceObjectBuilder<TrainedModelsRecord>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-