Class TrainedModelsRecord.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TrainedModelsRecord.Builder>
co.elastic.clients.elasticsearch.cat.ml_trained_models.TrainedModelsRecord.Builder
- All Implemented Interfaces:
WithJson<TrainedModelsRecord.Builder>,ObjectBuilder<TrainedModelsRecord>
- Enclosing class:
- TrainedModelsRecord
public static class TrainedModelsRecord.Builder extends WithJsonObjectBuilderBase<TrainedModelsRecord.Builder> implements ObjectBuilder<TrainedModelsRecord>
Builder for
TrainedModelsRecord.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TrainedModelsRecordbuild()Builds aTrainedModelsRecord.TrainedModelsRecord.BuildercreatedBy(java.lang.String value)who created the modelTrainedModelsRecord.BuildercreateTime(DateTime value)The time the model was createdTrainedModelsRecord.BuilderdataFrameAnalysis(java.lang.String value)The analysis used by the data frame to build the modelTrainedModelsRecord.BuilderdataFrameCreateTime(java.lang.String value)The time the data frame analytics config was createdTrainedModelsRecord.BuilderdataFrameId(java.lang.String value)The data frame analytics config id that created the model (if still available)TrainedModelsRecord.BuilderdataFrameSourceIndex(java.lang.String value)The source index used to train in the data frame analysisTrainedModelsRecord.Builderdescription(java.lang.String value)The model descriptionTrainedModelsRecord.BuilderheapSize(java.lang.String value)the estimated heap size to keep the model in memoryTrainedModelsRecord.Builderid(java.lang.String value)the trained model idTrainedModelsRecord.BuilderingestCount(java.lang.String value)The total number of docs processed by the modelTrainedModelsRecord.BuilderingestCurrent(java.lang.String value)The total documents currently being handled by the modelTrainedModelsRecord.BuilderingestFailed(java.lang.String value)The total count of failed ingest attempts with this modelTrainedModelsRecord.BuilderingestPipelines(java.lang.String value)The number of pipelines referencing the modelTrainedModelsRecord.BuilderingestTime(java.lang.String value)The total time spent processing docs with this modelTrainedModelsRecord.Builderlicense(java.lang.String value)The license level of the modelTrainedModelsRecord.Builderoperations(java.lang.String value)the estimated number of operations to use the modelprotected TrainedModelsRecord.Builderself()TrainedModelsRecord.Buildertype(java.lang.String value)API name:typeTrainedModelsRecord.Builderversion(java.lang.String value)The version of Elasticsearch when the model was createdMethods 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
-
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 -
type
API name:type -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<TrainedModelsRecord.Builder>
-
build
Builds aTrainedModelsRecord.- Specified by:
buildin interfaceObjectBuilder<TrainedModelsRecord>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-